public static final class CfnDeploymentGroup.DeploymentStyleProperty.Builder
extends java.lang.Object
CfnDeploymentGroup.DeploymentStyleProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDeploymentGroup.DeploymentStyleProperty |
build()
Builds the configured instance.
|
CfnDeploymentGroup.DeploymentStyleProperty.Builder |
deploymentOption(java.lang.String deploymentOption)
Sets the value of
CfnDeploymentGroup.DeploymentStyleProperty.getDeploymentOption() |
CfnDeploymentGroup.DeploymentStyleProperty.Builder |
deploymentType(java.lang.String deploymentType)
Sets the value of
CfnDeploymentGroup.DeploymentStyleProperty.getDeploymentType() |
public CfnDeploymentGroup.DeploymentStyleProperty.Builder deploymentOption(java.lang.String deploymentOption)
CfnDeploymentGroup.DeploymentStyleProperty.getDeploymentOption()
deploymentOption
- Indicates whether to route deployment traffic behind a load balancer.
An Amazon EC2 Application Load Balancer or Network Load Balancer is required for an Amazon ECS deployment.
this
public CfnDeploymentGroup.DeploymentStyleProperty.Builder deploymentType(java.lang.String deploymentType)
CfnDeploymentGroup.DeploymentStyleProperty.getDeploymentType()
deploymentType
- Indicates whether to run an in-place or blue/green deployment.this
public CfnDeploymentGroup.DeploymentStyleProperty build()
CfnDeploymentGroup.DeploymentStyleProperty
java.lang.NullPointerException
- if any required attribute was not provided