Class CfnIntegrationV2Props.Builder
java.lang.Object
software.amazon.awscdk.services.apigateway.CfnIntegrationV2Props.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIntegrationV2Props>
- Enclosing interface:
CfnIntegrationV2Props
@Stability(Deprecated)
@Deprecated
public static final class CfnIntegrationV2Props.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIntegrationV2Props>
Deprecated.
A builder for
CfnIntegrationV2Props
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.build()
Deprecated.connectionType
(String connectionType) Deprecated.contentHandlingStrategy
(String contentHandlingStrategy) Deprecated.credentialsArn
(String credentialsArn) Deprecated.description
(String description) Deprecated.integrationMethod
(String integrationMethod) Deprecated.integrationType
(String integrationType) Deprecated.integrationUri
(String integrationUri) Deprecated.passthroughBehavior
(String passthroughBehavior) Deprecated.payloadFormatVersion
(String payloadFormatVersion) Deprecated.requestParameters
(Object requestParameters) Deprecated.requestTemplates
(Object requestTemplates) Deprecated.templateSelectionExpression
(String templateSelectionExpression) Deprecated.timeoutInMillis
(Number timeoutInMillis) Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
apiId
Deprecated.Sets the value ofCfnIntegrationV2Props.getApiId()
- Parameters:
apiId
-AWS::ApiGatewayV2::Integration.ApiId
. This parameter is required.- Returns:
this
-
integrationType
@Stability(Deprecated) @Deprecated public CfnIntegrationV2Props.Builder integrationType(String integrationType) Deprecated.Sets the value ofCfnIntegrationV2Props.getIntegrationType()
- Parameters:
integrationType
-AWS::ApiGatewayV2::Integration.IntegrationType
. This parameter is required.- Returns:
this
-
connectionType
@Stability(Deprecated) @Deprecated public CfnIntegrationV2Props.Builder connectionType(String connectionType) Deprecated.Sets the value ofCfnIntegrationV2Props.getConnectionType()
- Parameters:
connectionType
-AWS::ApiGatewayV2::Integration.ConnectionType
.- Returns:
this
-
contentHandlingStrategy
@Stability(Deprecated) @Deprecated public CfnIntegrationV2Props.Builder contentHandlingStrategy(String contentHandlingStrategy) Deprecated.Sets the value ofCfnIntegrationV2Props.getContentHandlingStrategy()
- Parameters:
contentHandlingStrategy
-AWS::ApiGatewayV2::Integration.ContentHandlingStrategy
.- Returns:
this
-
credentialsArn
@Stability(Deprecated) @Deprecated public CfnIntegrationV2Props.Builder credentialsArn(String credentialsArn) Deprecated.Sets the value ofCfnIntegrationV2Props.getCredentialsArn()
- Parameters:
credentialsArn
-AWS::ApiGatewayV2::Integration.CredentialsArn
.- Returns:
this
-
description
@Stability(Deprecated) @Deprecated public CfnIntegrationV2Props.Builder description(String description) Deprecated.Sets the value ofCfnIntegrationV2Props.getDescription()
- Parameters:
description
-AWS::ApiGatewayV2::Integration.Description
.- Returns:
this
-
integrationMethod
@Stability(Deprecated) @Deprecated public CfnIntegrationV2Props.Builder integrationMethod(String integrationMethod) Deprecated.Sets the value ofCfnIntegrationV2Props.getIntegrationMethod()
- Parameters:
integrationMethod
-AWS::ApiGatewayV2::Integration.IntegrationMethod
.- Returns:
this
-
integrationUri
@Stability(Deprecated) @Deprecated public CfnIntegrationV2Props.Builder integrationUri(String integrationUri) Deprecated.Sets the value ofCfnIntegrationV2Props.getIntegrationUri()
- Parameters:
integrationUri
-AWS::ApiGatewayV2::Integration.IntegrationUri
.- Returns:
this
-
passthroughBehavior
@Stability(Deprecated) @Deprecated public CfnIntegrationV2Props.Builder passthroughBehavior(String passthroughBehavior) Deprecated.Sets the value ofCfnIntegrationV2Props.getPassthroughBehavior()
- Parameters:
passthroughBehavior
-AWS::ApiGatewayV2::Integration.PassthroughBehavior
.- Returns:
this
-
payloadFormatVersion
@Stability(Deprecated) @Deprecated public CfnIntegrationV2Props.Builder payloadFormatVersion(String payloadFormatVersion) Deprecated.Sets the value ofCfnIntegrationV2Props.getPayloadFormatVersion()
- Parameters:
payloadFormatVersion
-AWS::ApiGatewayV2::Integration.PayloadFormatVersion
.- Returns:
this
-
requestParameters
@Stability(Deprecated) @Deprecated public CfnIntegrationV2Props.Builder requestParameters(Object requestParameters) Deprecated.Sets the value ofCfnIntegrationV2Props.getRequestParameters()
- Parameters:
requestParameters
-AWS::ApiGatewayV2::Integration.RequestParameters
.- Returns:
this
-
requestTemplates
@Stability(Deprecated) @Deprecated public CfnIntegrationV2Props.Builder requestTemplates(Object requestTemplates) Deprecated.Sets the value ofCfnIntegrationV2Props.getRequestTemplates()
- Parameters:
requestTemplates
-AWS::ApiGatewayV2::Integration.RequestTemplates
.- Returns:
this
-
templateSelectionExpression
@Stability(Deprecated) @Deprecated public CfnIntegrationV2Props.Builder templateSelectionExpression(String templateSelectionExpression) Deprecated.Sets the value ofCfnIntegrationV2Props.getTemplateSelectionExpression()
- Parameters:
templateSelectionExpression
-AWS::ApiGatewayV2::Integration.TemplateSelectionExpression
.- Returns:
this
-
timeoutInMillis
@Stability(Deprecated) @Deprecated public CfnIntegrationV2Props.Builder timeoutInMillis(Number timeoutInMillis) Deprecated.Sets the value ofCfnIntegrationV2Props.getTimeoutInMillis()
- Parameters:
timeoutInMillis
-AWS::ApiGatewayV2::Integration.TimeoutInMillis
.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnIntegrationV2Props>
- Returns:
- a new instance of
CfnIntegrationV2Props
- Throws:
NullPointerException
- if any required attribute was not provided
-