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 Details

    • 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 the DryRun invocation type, this status code is 204.

      Parameters:
      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 the DryRun 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.