@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudFormationTarget extends Object implements Serializable, Cloneable, StructuredPojo
Information about the target to be updated by an AWS CloudFormation blue/green deployment. This target type is used for all deployments initiated by a CloudFormation stack update.
Constructor and Description |
---|
CloudFormationTarget() |
Modifier and Type | Method and Description |
---|---|
CloudFormationTarget |
clone() |
boolean |
equals(Object obj) |
String |
getDeploymentId()
The unique ID of an AWS CloudFormation blue/green deployment.
|
Date |
getLastUpdatedAt()
The date and time when the target application was updated by an AWS CloudFormation blue/green deployment.
|
List<LifecycleEvent> |
getLifecycleEvents()
The lifecycle events of the AWS CloudFormation blue/green deployment to this target application.
|
String |
getResourceType()
The resource type for the AWS CloudFormation blue/green deployment.
|
String |
getStatus()
The status of an AWS CloudFormation blue/green deployment's target application.
|
String |
getTargetId()
The unique ID of a deployment target that has a type of
CloudFormationTarget . |
Double |
getTargetVersionWeight()
The percentage of production traffic that the target version of an AWS CloudFormation blue/green deployment
receives.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeploymentId(String deploymentId)
The unique ID of an AWS CloudFormation blue/green deployment.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
The date and time when the target application was updated by an AWS CloudFormation blue/green deployment.
|
void |
setLifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)
The lifecycle events of the AWS CloudFormation blue/green deployment to this target application.
|
void |
setResourceType(String resourceType)
The resource type for the AWS CloudFormation blue/green deployment.
|
void |
setStatus(String status)
The status of an AWS CloudFormation blue/green deployment's target application.
|
void |
setTargetId(String targetId)
The unique ID of a deployment target that has a type of
CloudFormationTarget . |
void |
setTargetVersionWeight(Double targetVersionWeight)
The percentage of production traffic that the target version of an AWS CloudFormation blue/green deployment
receives.
|
String |
toString()
Returns a string representation of this object.
|
CloudFormationTarget |
withDeploymentId(String deploymentId)
The unique ID of an AWS CloudFormation blue/green deployment.
|
CloudFormationTarget |
withLastUpdatedAt(Date lastUpdatedAt)
The date and time when the target application was updated by an AWS CloudFormation blue/green deployment.
|
CloudFormationTarget |
withLifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)
The lifecycle events of the AWS CloudFormation blue/green deployment to this target application.
|
CloudFormationTarget |
withLifecycleEvents(LifecycleEvent... lifecycleEvents)
The lifecycle events of the AWS CloudFormation blue/green deployment to this target application.
|
CloudFormationTarget |
withResourceType(String resourceType)
The resource type for the AWS CloudFormation blue/green deployment.
|
CloudFormationTarget |
withStatus(String status)
The status of an AWS CloudFormation blue/green deployment's target application.
|
CloudFormationTarget |
withStatus(TargetStatus status)
The status of an AWS CloudFormation blue/green deployment's target application.
|
CloudFormationTarget |
withTargetId(String targetId)
The unique ID of a deployment target that has a type of
CloudFormationTarget . |
CloudFormationTarget |
withTargetVersionWeight(Double targetVersionWeight)
The percentage of production traffic that the target version of an AWS CloudFormation blue/green deployment
receives.
|
public void setDeploymentId(String deploymentId)
The unique ID of an AWS CloudFormation blue/green deployment.
deploymentId
- The unique ID of an AWS CloudFormation blue/green deployment.public String getDeploymentId()
The unique ID of an AWS CloudFormation blue/green deployment.
public CloudFormationTarget withDeploymentId(String deploymentId)
The unique ID of an AWS CloudFormation blue/green deployment.
deploymentId
- The unique ID of an AWS CloudFormation blue/green deployment.public void setTargetId(String targetId)
The unique ID of a deployment target that has a type of CloudFormationTarget
.
targetId
- The unique ID of a deployment target that has a type of CloudFormationTarget
.public String getTargetId()
The unique ID of a deployment target that has a type of CloudFormationTarget
.
CloudFormationTarget
.public CloudFormationTarget withTargetId(String targetId)
The unique ID of a deployment target that has a type of CloudFormationTarget
.
targetId
- The unique ID of a deployment target that has a type of CloudFormationTarget
.public void setLastUpdatedAt(Date lastUpdatedAt)
The date and time when the target application was updated by an AWS CloudFormation blue/green deployment.
lastUpdatedAt
- The date and time when the target application was updated by an AWS CloudFormation blue/green deployment.public Date getLastUpdatedAt()
The date and time when the target application was updated by an AWS CloudFormation blue/green deployment.
public CloudFormationTarget withLastUpdatedAt(Date lastUpdatedAt)
The date and time when the target application was updated by an AWS CloudFormation blue/green deployment.
lastUpdatedAt
- The date and time when the target application was updated by an AWS CloudFormation blue/green deployment.public List<LifecycleEvent> getLifecycleEvents()
The lifecycle events of the AWS CloudFormation blue/green deployment to this target application.
public void setLifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)
The lifecycle events of the AWS CloudFormation blue/green deployment to this target application.
lifecycleEvents
- The lifecycle events of the AWS CloudFormation blue/green deployment to this target application.public CloudFormationTarget withLifecycleEvents(LifecycleEvent... lifecycleEvents)
The lifecycle events of the AWS CloudFormation blue/green deployment to this target application.
NOTE: This method appends the values to the existing list (if any). Use
setLifecycleEvents(java.util.Collection)
or withLifecycleEvents(java.util.Collection)
if you
want to override the existing values.
lifecycleEvents
- The lifecycle events of the AWS CloudFormation blue/green deployment to this target application.public CloudFormationTarget withLifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)
The lifecycle events of the AWS CloudFormation blue/green deployment to this target application.
lifecycleEvents
- The lifecycle events of the AWS CloudFormation blue/green deployment to this target application.public void setStatus(String status)
The status of an AWS CloudFormation blue/green deployment's target application.
status
- The status of an AWS CloudFormation blue/green deployment's target application.TargetStatus
public String getStatus()
The status of an AWS CloudFormation blue/green deployment's target application.
TargetStatus
public CloudFormationTarget withStatus(String status)
The status of an AWS CloudFormation blue/green deployment's target application.
status
- The status of an AWS CloudFormation blue/green deployment's target application.TargetStatus
public CloudFormationTarget withStatus(TargetStatus status)
The status of an AWS CloudFormation blue/green deployment's target application.
status
- The status of an AWS CloudFormation blue/green deployment's target application.TargetStatus
public void setResourceType(String resourceType)
The resource type for the AWS CloudFormation blue/green deployment.
resourceType
- The resource type for the AWS CloudFormation blue/green deployment.public String getResourceType()
The resource type for the AWS CloudFormation blue/green deployment.
public CloudFormationTarget withResourceType(String resourceType)
The resource type for the AWS CloudFormation blue/green deployment.
resourceType
- The resource type for the AWS CloudFormation blue/green deployment.public void setTargetVersionWeight(Double targetVersionWeight)
The percentage of production traffic that the target version of an AWS CloudFormation blue/green deployment receives.
targetVersionWeight
- The percentage of production traffic that the target version of an AWS CloudFormation blue/green
deployment receives.public Double getTargetVersionWeight()
The percentage of production traffic that the target version of an AWS CloudFormation blue/green deployment receives.
public CloudFormationTarget withTargetVersionWeight(Double targetVersionWeight)
The percentage of production traffic that the target version of an AWS CloudFormation blue/green deployment receives.
targetVersionWeight
- The percentage of production traffic that the target version of an AWS CloudFormation blue/green
deployment receives.public String toString()
toString
in class Object
Object.toString()
public CloudFormationTarget clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.