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