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