Class GatewayResponseReference.Builder
java.lang.Object
software.amazon.awscdk.services.apigateway.GatewayResponseReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GatewayResponseReference>
- Enclosing interface:
GatewayResponseReference
@Stability(Stable)
public static final class GatewayResponseReference.Builder
extends Object
implements software.amazon.jsii.Builder<GatewayResponseReference>
A builder for
GatewayResponseReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.gatewayResponseId
(String gatewayResponseId) Sets the value ofGatewayResponseReference.getGatewayResponseId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
gatewayResponseId
@Stability(Stable) public GatewayResponseReference.Builder gatewayResponseId(String gatewayResponseId) Sets the value ofGatewayResponseReference.getGatewayResponseId()
- Parameters:
gatewayResponseId
- The Id of the GatewayResponse resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<GatewayResponseReference>
- Returns:
- a new instance of
GatewayResponseReference
- Throws:
NullPointerException
- if any required attribute was not provided
-