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
Modifier 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.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lambda.model.LambdaResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
statusCode
For 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 theRequestResponseinvocation type, this status code is 200. For theDryRuninvocation type, this status code is 204.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-