Interface InvokeWithResponseStreamResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<InvokeWithResponseStreamResponse.Builder,InvokeWithResponseStreamResponse>
,LambdaResponse.Builder
,SdkBuilder<InvokeWithResponseStreamResponse.Builder,InvokeWithResponseStreamResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- InvokeWithResponseStreamResponse
public static interface InvokeWithResponseStreamResponse.Builder extends LambdaResponse.Builder, SdkPojo, CopyableBuilder<InvokeWithResponseStreamResponse.Builder,InvokeWithResponseStreamResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InvokeWithResponseStreamResponse.Builder
executedVersion(String executedVersion)
The version of the function that executed.InvokeWithResponseStreamResponse.Builder
responseStreamContentType(String responseStreamContentType)
The type of data the stream is returning.InvokeWithResponseStreamResponse.Builder
statusCode(Integer statusCode)
For a successful request, the HTTP status code is in the 200 range.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lambda.model.LambdaResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
statusCode
InvokeWithResponseStreamResponse.Builder statusCode(Integer statusCode)
For a successful request, the HTTP status code is in the 200 range. For the
RequestResponse
invocation type, this status code is 200. For theDryRun
invocation type, this status code is 204.- Parameters:
statusCode
- For a successful request, the HTTP status code is in the 200 range. For theRequestResponse
invocation type, this status code is 200. For theDryRun
invocation type, this status code is 204.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executedVersion
InvokeWithResponseStreamResponse.Builder executedVersion(String executedVersion)
The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.
- Parameters:
executedVersion
- The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseStreamContentType
InvokeWithResponseStreamResponse.Builder responseStreamContentType(String responseStreamContentType)
The type of data the stream is returning.
- Parameters:
responseStreamContentType
- The type of data the stream is returning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-