public static final class CfnCodeDeployBlueGreenApplicationTarget.Builder
extends java.lang.Object
CfnCodeDeployBlueGreenApplicationTarget
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnCodeDeployBlueGreenApplicationTarget |
build()
Builds the configured instance.
|
CfnCodeDeployBlueGreenApplicationTarget.Builder |
logicalId(java.lang.String logicalId)
Sets the value of
CfnCodeDeployBlueGreenApplicationTarget.getLogicalId() |
CfnCodeDeployBlueGreenApplicationTarget.Builder |
type(java.lang.String type)
Sets the value of
CfnCodeDeployBlueGreenApplicationTarget.getType() |
public CfnCodeDeployBlueGreenApplicationTarget.Builder logicalId(java.lang.String logicalId)
CfnCodeDeployBlueGreenApplicationTarget.getLogicalId()
logicalId
- The logical id of the target resource. This parameter is required.this
public CfnCodeDeployBlueGreenApplicationTarget.Builder type(java.lang.String type)
CfnCodeDeployBlueGreenApplicationTarget.getType()
type
- The resource type of the target being deployed. This parameter is required.
Right now, the only allowed value is 'AWS::ECS::Service'.this
public CfnCodeDeployBlueGreenApplicationTarget build()
CfnCodeDeployBlueGreenApplicationTarget
java.lang.NullPointerException
- if any required attribute was not provided