Class CfnApiGatewayManagedOverridesPropsMixin.IntegrationOverridesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apigatewayv2.CfnApiGatewayManagedOverridesPropsMixin.IntegrationOverridesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApiGatewayManagedOverridesPropsMixin.IntegrationOverridesProperty>
- Enclosing interface:
CfnApiGatewayManagedOverridesPropsMixin.IntegrationOverridesProperty
@Stability(Stable)
public static final class CfnApiGatewayManagedOverridesPropsMixin.IntegrationOverridesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApiGatewayManagedOverridesPropsMixin.IntegrationOverridesProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) integrationMethod(String integrationMethod) payloadFormatVersion(String payloadFormatVersion) timeoutInMillis(Number timeoutInMillis)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
@Stability(Stable) public CfnApiGatewayManagedOverridesPropsMixin.IntegrationOverridesProperty.Builder description(String description) Sets the value ofCfnApiGatewayManagedOverridesPropsMixin.IntegrationOverridesProperty.getDescription()- Parameters:
description- The description of the integration.- Returns:
this
-
integrationMethod
@Stability(Stable) public CfnApiGatewayManagedOverridesPropsMixin.IntegrationOverridesProperty.Builder integrationMethod(String integrationMethod) Sets the value ofCfnApiGatewayManagedOverridesPropsMixin.IntegrationOverridesProperty.getIntegrationMethod()- Parameters:
integrationMethod- Specifies the integration's HTTP method type. For WebSocket APIs, if you use a Lambda integration, you must set the integration method toPOST.- Returns:
this
-
payloadFormatVersion
@Stability(Stable) public CfnApiGatewayManagedOverridesPropsMixin.IntegrationOverridesProperty.Builder payloadFormatVersion(String payloadFormatVersion) Sets the value ofCfnApiGatewayManagedOverridesPropsMixin.IntegrationOverridesProperty.getPayloadFormatVersion()- Parameters:
payloadFormatVersion- Specifies the format of the payload sent to an integration. Required for HTTP APIs. For HTTP APIs, supported values for Lambda proxy integrations are1.0and2.0. For all other integrations,1.0is the only supported value. To learn more, see Working with AWS Lambda proxy integrations for HTTP APIs .- Returns:
this
-
timeoutInMillis
@Stability(Stable) public CfnApiGatewayManagedOverridesPropsMixin.IntegrationOverridesProperty.Builder timeoutInMillis(Number timeoutInMillis) Sets the value ofCfnApiGatewayManagedOverridesPropsMixin.IntegrationOverridesProperty.getTimeoutInMillis()- Parameters:
timeoutInMillis- Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.- Returns:
this
-
build
@Stability(Stable) public CfnApiGatewayManagedOverridesPropsMixin.IntegrationOverridesProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApiGatewayManagedOverridesPropsMixin.IntegrationOverridesProperty>- Returns:
- a new instance of
CfnApiGatewayManagedOverridesPropsMixin.IntegrationOverridesProperty - Throws:
NullPointerException- if any required attribute was not provided
-