@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ECSTarget extends Object implements Serializable, Cloneable, StructuredPojo
Information about the target of an Amazon ECS deployment.
Constructor and Description |
---|
ECSTarget() |
Modifier and Type | Method and Description |
---|---|
ECSTarget |
clone() |
boolean |
equals(Object obj) |
String |
getDeploymentId()
The unique ID of a deployment.
|
Date |
getLastUpdatedAt()
The date and time when the target Amazon ECS application was updated by a deployment.
|
List<LifecycleEvent> |
getLifecycleEvents()
The lifecycle events of the deployment to this target Amazon ECS application.
|
String |
getStatus()
The status an Amazon ECS deployment's target ECS application.
|
String |
getTargetArn()
The Amazon Resource Name (ARN) of the target.
|
String |
getTargetId()
The unique ID of a deployment target that has a type of
ecsTarget . |
List<ECSTaskSet> |
getTaskSetsInfo()
The
ECSTaskSet objects associated with the ECS target. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeploymentId(String deploymentId)
The unique ID of a deployment.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
The date and time when the target Amazon ECS application was updated by a deployment.
|
void |
setLifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)
The lifecycle events of the deployment to this target Amazon ECS application.
|
void |
setStatus(String status)
The status an Amazon ECS deployment's target ECS application.
|
void |
setTargetArn(String targetArn)
The Amazon Resource Name (ARN) of the target.
|
void |
setTargetId(String targetId)
The unique ID of a deployment target that has a type of
ecsTarget . |
void |
setTaskSetsInfo(Collection<ECSTaskSet> taskSetsInfo)
The
ECSTaskSet objects associated with the ECS target. |
String |
toString()
Returns a string representation of this object.
|
ECSTarget |
withDeploymentId(String deploymentId)
The unique ID of a deployment.
|
ECSTarget |
withLastUpdatedAt(Date lastUpdatedAt)
The date and time when the target Amazon ECS application was updated by a deployment.
|
ECSTarget |
withLifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)
The lifecycle events of the deployment to this target Amazon ECS application.
|
ECSTarget |
withLifecycleEvents(LifecycleEvent... lifecycleEvents)
The lifecycle events of the deployment to this target Amazon ECS application.
|
ECSTarget |
withStatus(String status)
The status an Amazon ECS deployment's target ECS application.
|
ECSTarget |
withStatus(TargetStatus status)
The status an Amazon ECS deployment's target ECS application.
|
ECSTarget |
withTargetArn(String targetArn)
The Amazon Resource Name (ARN) of the target.
|
ECSTarget |
withTargetId(String targetId)
The unique ID of a deployment target that has a type of
ecsTarget . |
ECSTarget |
withTaskSetsInfo(Collection<ECSTaskSet> taskSetsInfo)
The
ECSTaskSet objects associated with the ECS target. |
ECSTarget |
withTaskSetsInfo(ECSTaskSet... taskSetsInfo)
The
ECSTaskSet objects associated with the ECS target. |
public void setDeploymentId(String deploymentId)
The unique ID of a deployment.
deploymentId
- The unique ID of a deployment.public String getDeploymentId()
The unique ID of a deployment.
public ECSTarget withDeploymentId(String deploymentId)
The unique ID of a deployment.
deploymentId
- The unique ID of a deployment.public void setTargetId(String targetId)
The unique ID of a deployment target that has a type of ecsTarget
.
targetId
- The unique ID of a deployment target that has a type of ecsTarget
.public String getTargetId()
The unique ID of a deployment target that has a type of ecsTarget
.
ecsTarget
.public ECSTarget withTargetId(String targetId)
The unique ID of a deployment target that has a type of ecsTarget
.
targetId
- The unique ID of a deployment target that has a type of ecsTarget
.public void setTargetArn(String targetArn)
The Amazon Resource Name (ARN) of the target.
targetArn
- The Amazon Resource Name (ARN) of the target.public String getTargetArn()
The Amazon Resource Name (ARN) of the target.
public ECSTarget withTargetArn(String targetArn)
The Amazon Resource Name (ARN) of the target.
targetArn
- The Amazon Resource Name (ARN) of the target.public void setLastUpdatedAt(Date lastUpdatedAt)
The date and time when the target Amazon ECS application was updated by a deployment.
lastUpdatedAt
- The date and time when the target Amazon ECS application was updated by a deployment.public Date getLastUpdatedAt()
The date and time when the target Amazon ECS application was updated by a deployment.
public ECSTarget withLastUpdatedAt(Date lastUpdatedAt)
The date and time when the target Amazon ECS application was updated by a deployment.
lastUpdatedAt
- The date and time when the target Amazon ECS application was updated by a deployment.public List<LifecycleEvent> getLifecycleEvents()
The lifecycle events of the deployment to this target Amazon ECS application.
public void setLifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)
The lifecycle events of the deployment to this target Amazon ECS application.
lifecycleEvents
- The lifecycle events of the deployment to this target Amazon ECS application.public ECSTarget withLifecycleEvents(LifecycleEvent... lifecycleEvents)
The lifecycle events of the deployment to this target Amazon ECS 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 deployment to this target Amazon ECS application.public ECSTarget withLifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)
The lifecycle events of the deployment to this target Amazon ECS application.
lifecycleEvents
- The lifecycle events of the deployment to this target Amazon ECS application.public void setStatus(String status)
The status an Amazon ECS deployment's target ECS application.
status
- The status an Amazon ECS deployment's target ECS application.TargetStatus
public String getStatus()
The status an Amazon ECS deployment's target ECS application.
TargetStatus
public ECSTarget withStatus(String status)
The status an Amazon ECS deployment's target ECS application.
status
- The status an Amazon ECS deployment's target ECS application.TargetStatus
public ECSTarget withStatus(TargetStatus status)
The status an Amazon ECS deployment's target ECS application.
status
- The status an Amazon ECS deployment's target ECS application.TargetStatus
public List<ECSTaskSet> getTaskSetsInfo()
The ECSTaskSet
objects associated with the ECS target.
ECSTaskSet
objects associated with the ECS target.public void setTaskSetsInfo(Collection<ECSTaskSet> taskSetsInfo)
The ECSTaskSet
objects associated with the ECS target.
taskSetsInfo
- The ECSTaskSet
objects associated with the ECS target.public ECSTarget withTaskSetsInfo(ECSTaskSet... taskSetsInfo)
The ECSTaskSet
objects associated with the ECS target.
NOTE: This method appends the values to the existing list (if any). Use
setTaskSetsInfo(java.util.Collection)
or withTaskSetsInfo(java.util.Collection)
if you want to
override the existing values.
taskSetsInfo
- The ECSTaskSet
objects associated with the ECS target.public ECSTarget withTaskSetsInfo(Collection<ECSTaskSet> taskSetsInfo)
The ECSTaskSet
objects associated with the ECS target.
taskSetsInfo
- The ECSTaskSet
objects associated with the ECS target.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.