Class WebSocketLambdaIntegrationProps.Builder
java.lang.Object
software.amazon.awscdk.aws_apigatewayv2_integrations.WebSocketLambdaIntegrationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<WebSocketLambdaIntegrationProps>
- Enclosing interface:
WebSocketLambdaIntegrationProps
@Stability(Stable)
public static final class WebSocketLambdaIntegrationProps.Builder
extends Object
implements software.amazon.jsii.Builder<WebSocketLambdaIntegrationProps>
A builder for
WebSocketLambdaIntegrationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.contentHandling(ContentHandling contentHandling) Sets the value ofWebSocketLambdaIntegrationProps.getContentHandling()Sets the value ofWebSocketLambdaIntegrationProps.getTimeout()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
contentHandling
@Stability(Stable) public WebSocketLambdaIntegrationProps.Builder contentHandling(ContentHandling contentHandling) Sets the value ofWebSocketLambdaIntegrationProps.getContentHandling()- Parameters:
contentHandling- Specifies how to handle response payload content type conversions.- Returns:
this
-
timeout
Sets the value ofWebSocketLambdaIntegrationProps.getTimeout()- Parameters:
timeout- The maximum amount of time an integration will run before it returns without a response. Must be between 50 milliseconds and 29 seconds.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<WebSocketLambdaIntegrationProps>- Returns:
- a new instance of
WebSocketLambdaIntegrationProps - Throws:
NullPointerException- if any required attribute was not provided
-