Class IntegrationResponseReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.apigatewayv2.IntegrationResponseReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<IntegrationResponseReference>
- Enclosing interface:
IntegrationResponseReference
@Stability(Stable)
public static final class IntegrationResponseReference.Builder
extends Object
implements software.amazon.jsii.Builder<IntegrationResponseReference>
A builder for
IntegrationResponseReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofIntegrationResponseReference.getApiId()build()Builds the configured instance.integrationId(String integrationId) Sets the value ofIntegrationResponseReference.getIntegrationId()integrationResponseId(String integrationResponseId) Sets the value ofIntegrationResponseReference.getIntegrationResponseId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiId
Sets the value ofIntegrationResponseReference.getApiId()- Parameters:
apiId- The ApiId of the IntegrationResponse resource. This parameter is required.- Returns:
this
-
integrationId
Sets the value ofIntegrationResponseReference.getIntegrationId()- Parameters:
integrationId- The IntegrationId of the IntegrationResponse resource. This parameter is required.- Returns:
this
-
integrationResponseId
@Stability(Stable) public IntegrationResponseReference.Builder integrationResponseId(String integrationResponseId) Sets the value ofIntegrationResponseReference.getIntegrationResponseId()- Parameters:
integrationResponseId- The IntegrationResponseId of the IntegrationResponse resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IntegrationResponseReference>- Returns:
- a new instance of
IntegrationResponseReference - Throws:
NullPointerException- if any required attribute was not provided
-