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