Interface InvokeWithResponseStreamResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<InvokeWithResponseStreamResponse.Builder,,- InvokeWithResponseStreamResponse> - LambdaResponse.Builder,- SdkBuilder<InvokeWithResponseStreamResponse.Builder,,- InvokeWithResponseStreamResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- InvokeWithResponseStreamResponse
@Mutable
@NotThreadSafe
public static interface InvokeWithResponseStreamResponse.Builder
extends LambdaResponse.Builder, SdkPojo, CopyableBuilder<InvokeWithResponseStreamResponse.Builder,InvokeWithResponseStreamResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionexecutedVersion(String executedVersion) The version of the function that executed.responseStreamContentType(String responseStreamContentType) The type of data the stream is returning.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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.lambda.model.LambdaResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
statusCodeFor a successful request, the HTTP status code is in the 200 range. For the RequestResponseinvocation type, this status code is 200. For theDryRuninvocation type, this status code is 204.- Parameters:
- statusCode- For a successful request, the HTTP status code is in the 200 range. For the- RequestResponseinvocation type, this status code is 200. For the- DryRuninvocation type, this status code is 204.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
executedVersionThe 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.
 
- 
responseStreamContentTypeInvokeWithResponseStreamResponse.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.
 
 
-