public class EcsCluster
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a registered Amazon ECS cluster.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
ecsClusterArn
The cluster's ARN.
|
private java.lang.String |
ecsClusterName
The cluster name.
|
private java.lang.String |
registeredAt
The time and date that the cluster was registered with the stack.
|
private java.lang.String |
stackId
The stack ID.
|
Constructor and Description |
---|
EcsCluster() |
Modifier and Type | Method and Description |
---|---|
EcsCluster |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEcsClusterArn()
The cluster's ARN.
|
java.lang.String |
getEcsClusterName()
The cluster name.
|
java.lang.String |
getRegisteredAt()
The time and date that the cluster was registered with the stack.
|
java.lang.String |
getStackId()
The stack ID.
|
int |
hashCode() |
void |
setEcsClusterArn(java.lang.String ecsClusterArn)
The cluster's ARN.
|
void |
setEcsClusterName(java.lang.String ecsClusterName)
The cluster name.
|
void |
setRegisteredAt(java.lang.String registeredAt)
The time and date that the cluster was registered with the stack.
|
void |
setStackId(java.lang.String stackId)
The stack ID.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EcsCluster |
withEcsClusterArn(java.lang.String ecsClusterArn)
The cluster's ARN.
|
EcsCluster |
withEcsClusterName(java.lang.String ecsClusterName)
The cluster name.
|
EcsCluster |
withRegisteredAt(java.lang.String registeredAt)
The time and date that the cluster was registered with the stack.
|
EcsCluster |
withStackId(java.lang.String stackId)
The stack ID.
|
private java.lang.String ecsClusterArn
The cluster's ARN.
private java.lang.String ecsClusterName
The cluster name.
private java.lang.String stackId
The stack ID.
private java.lang.String registeredAt
The time and date that the cluster was registered with the stack.
public void setEcsClusterArn(java.lang.String ecsClusterArn)
The cluster's ARN.
ecsClusterArn
- The cluster's ARN.public java.lang.String getEcsClusterArn()
The cluster's ARN.
public EcsCluster withEcsClusterArn(java.lang.String ecsClusterArn)
The cluster's ARN.
ecsClusterArn
- The cluster's ARN.public void setEcsClusterName(java.lang.String ecsClusterName)
The cluster name.
ecsClusterName
- The cluster name.public java.lang.String getEcsClusterName()
The cluster name.
public EcsCluster withEcsClusterName(java.lang.String ecsClusterName)
The cluster name.
ecsClusterName
- The cluster name.public void setStackId(java.lang.String stackId)
The stack ID.
stackId
- The stack ID.public java.lang.String getStackId()
The stack ID.
public EcsCluster withStackId(java.lang.String stackId)
The stack ID.
stackId
- The stack ID.public void setRegisteredAt(java.lang.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 java.lang.String getRegisteredAt()
The time and date that the cluster was registered with the stack.
public EcsCluster withRegisteredAt(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public EcsCluster clone()
clone
in class java.lang.Object