Class CfnApplicationProps.Builder
java.lang.Object
software.amazon.awscdk.services.refactorspaces.CfnApplicationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationProps>
- Enclosing interface:
CfnApplicationProps
@Stability(Stable)
public static final class CfnApplicationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationProps>
A builder for
CfnApplicationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapiGatewayProxy
(IResolvable apiGatewayProxy) Sets the value ofCfnApplicationProps.getApiGatewayProxy()
apiGatewayProxy
(CfnApplication.ApiGatewayProxyInputProperty apiGatewayProxy) Sets the value ofCfnApplicationProps.getApiGatewayProxy()
build()
Builds the configured instance.environmentIdentifier
(String environmentIdentifier) Sets the value ofCfnApplicationProps.getEnvironmentIdentifier()
Sets the value ofCfnApplicationProps.getName()
Sets the value ofCfnApplicationProps.getProxyType()
Sets the value ofCfnApplicationProps.getTags()
Sets the value ofCfnApplicationProps.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
environmentIdentifier
@Stability(Stable) public CfnApplicationProps.Builder environmentIdentifier(String environmentIdentifier) Sets the value ofCfnApplicationProps.getEnvironmentIdentifier()
- Parameters:
environmentIdentifier
- The unique identifier of the environment. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnApplicationProps.getName()
- Parameters:
name
- The name of the application. This parameter is required.- Returns:
this
-
proxyType
Sets the value ofCfnApplicationProps.getProxyType()
- Parameters:
proxyType
- The proxy type of the proxy created within the application. This parameter is required.- Returns:
this
-
vpcId
Sets the value ofCfnApplicationProps.getVpcId()
- Parameters:
vpcId
- The ID of the virtual private cloud (VPC). This parameter is required.- Returns:
this
-
apiGatewayProxy
Sets the value ofCfnApplicationProps.getApiGatewayProxy()
- Parameters:
apiGatewayProxy
- The endpoint URL of the Amazon API Gateway proxy.- Returns:
this
-
apiGatewayProxy
@Stability(Stable) public CfnApplicationProps.Builder apiGatewayProxy(CfnApplication.ApiGatewayProxyInputProperty apiGatewayProxy) Sets the value ofCfnApplicationProps.getApiGatewayProxy()
- Parameters:
apiGatewayProxy
- The endpoint URL of the Amazon API Gateway proxy.- Returns:
this
-
tags
Sets the value ofCfnApplicationProps.getTags()
- Parameters:
tags
- The tags assigned to the application.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationProps>
- Returns:
- a new instance of
CfnApplicationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-