@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EcsCluster extends Object implements Serializable, Cloneable, StructuredPojo
Describes a registered Amazon ECS cluster.
Constructor and Description |
---|
EcsCluster() |
Modifier and Type | Method and Description |
---|---|
EcsCluster |
clone() |
boolean |
equals(Object obj) |
String |
getEcsClusterArn()
The cluster's ARN.
|
String |
getEcsClusterName()
The cluster name.
|
String |
getRegisteredAt()
The time and date that the cluster was registered with the stack.
|
String |
getStackId()
The stack ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEcsClusterArn(String ecsClusterArn)
The cluster's ARN.
|
void |
setEcsClusterName(String ecsClusterName)
The cluster name.
|
void |
setRegisteredAt(String registeredAt)
The time and date that the cluster was registered with the stack.
|
void |
setStackId(String stackId)
The stack ID.
|
String |
toString()
Returns a string representation of this object.
|
EcsCluster |
withEcsClusterArn(String ecsClusterArn)
The cluster's ARN.
|
EcsCluster |
withEcsClusterName(String ecsClusterName)
The cluster name.
|
EcsCluster |
withRegisteredAt(String registeredAt)
The time and date that the cluster was registered with the stack.
|
EcsCluster |
withStackId(String stackId)
The stack ID.
|
public void setEcsClusterArn(String ecsClusterArn)
The cluster's ARN.
ecsClusterArn
- The cluster's ARN.public String getEcsClusterArn()
The cluster's ARN.
public EcsCluster withEcsClusterArn(String ecsClusterArn)
The cluster's ARN.
ecsClusterArn
- The cluster's ARN.public void setEcsClusterName(String ecsClusterName)
The cluster name.
ecsClusterName
- The cluster name.public String getEcsClusterName()
The cluster name.
public EcsCluster withEcsClusterName(String ecsClusterName)
The cluster name.
ecsClusterName
- The cluster name.public void setStackId(String stackId)
The stack ID.
stackId
- The stack ID.public String getStackId()
The stack ID.
public EcsCluster withStackId(String stackId)
The stack ID.
stackId
- The stack ID.public void setRegisteredAt(String registeredAt)
The time and date that the cluster was registered with the stack.
registeredAt
- The time and date that the cluster was registered with the stack.public String getRegisteredAt()
The time and date that the cluster was registered with the stack.
public EcsCluster withRegisteredAt(String registeredAt)
The time and date that the cluster was registered with the stack.
registeredAt
- The time and date that the cluster was registered with the stack.public String toString()
toString
in class Object
Object.toString()
public EcsCluster clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.