Class CfnIntegrationPropsMixin.ResponseParameterProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apigatewayv2.CfnIntegrationPropsMixin.ResponseParameterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIntegrationPropsMixin.ResponseParameterProperty>
- Enclosing interface:
CfnIntegrationPropsMixin.ResponseParameterProperty
@Stability(Stable)
public static final class CfnIntegrationPropsMixin.ResponseParameterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIntegrationPropsMixin.ResponseParameterProperty>
A builder for
CfnIntegrationPropsMixin.ResponseParameterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destination(String destination) Sets the value ofCfnIntegrationPropsMixin.ResponseParameterProperty.getDestination()Sets the value ofCfnIntegrationPropsMixin.ResponseParameterProperty.getSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destination
@Stability(Stable) public CfnIntegrationPropsMixin.ResponseParameterProperty.Builder destination(String destination) Sets the value ofCfnIntegrationPropsMixin.ResponseParameterProperty.getDestination()- Parameters:
destination- Specifies the location of the response to modify, and how to modify it. To learn more, see Transforming API requests and responses .- Returns:
this
-
source
@Stability(Stable) public CfnIntegrationPropsMixin.ResponseParameterProperty.Builder source(String source) Sets the value ofCfnIntegrationPropsMixin.ResponseParameterProperty.getSource()- Parameters:
source- Specifies the data to update the parameter with. To learn more, see Transforming API requests and responses .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIntegrationPropsMixin.ResponseParameterProperty>- Returns:
- a new instance of
CfnIntegrationPropsMixin.ResponseParameterProperty - Throws:
NullPointerException- if any required attribute was not provided
-