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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InvokeWithResponseStreamResponse.BuilderexecutedVersion(String executedVersion)The version of the function that executed.InvokeWithResponseStreamResponse.BuilderresponseStreamContentType(String responseStreamContentType)The type of data the stream is returning.InvokeWithResponseStreamResponse.BuilderstatusCode(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, sdkFieldNameToField, 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
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
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.
-
-