Class WebSocketRouteIntegrationConfig.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.WebSocketRouteIntegrationConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<WebSocketRouteIntegrationConfig>
- Enclosing interface:
- WebSocketRouteIntegrationConfig
@Stability(Experimental)
public static final class WebSocketRouteIntegrationConfig.Builder
extends Object
implements software.amazon.jsii.Builder<WebSocketRouteIntegrationConfig>
A builder for
WebSocketRouteIntegrationConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.type(WebSocketIntegrationType type) Sets the value ofWebSocketRouteIntegrationConfig.getType()Sets the value ofWebSocketRouteIntegrationConfig.getUri()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
@Stability(Experimental) public WebSocketRouteIntegrationConfig.Builder type(WebSocketIntegrationType type) Sets the value ofWebSocketRouteIntegrationConfig.getType()- Parameters:
type- Integration type. This parameter is required.- Returns:
this
-
uri
Sets the value ofWebSocketRouteIntegrationConfig.getUri()- Parameters:
uri- Integration URI. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<WebSocketRouteIntegrationConfig>- Returns:
- a new instance of
WebSocketRouteIntegrationConfig - Throws:
NullPointerException- if any required attribute was not provided
-