public class EcsCluster extends Object implements Serializable, Cloneable
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 |
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; useful for testing and
debugging.
|
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 String getEcsClusterArn()
public void setEcsClusterArn(String ecsClusterArn)
ecsClusterArn
- The cluster's ARN.public EcsCluster withEcsClusterArn(String ecsClusterArn)
Returns a reference to this object so that method calls can be chained together.
ecsClusterArn
- The cluster's ARN.public String getEcsClusterName()
public void setEcsClusterName(String ecsClusterName)
ecsClusterName
- The cluster name.public EcsCluster withEcsClusterName(String ecsClusterName)
Returns a reference to this object so that method calls can be chained together.
ecsClusterName
- The cluster name.public String getStackId()
public void setStackId(String stackId)
stackId
- The stack ID.public EcsCluster withStackId(String stackId)
Returns a reference to this object so that method calls can be chained together.
stackId
- The stack ID.public String getRegisteredAt()
public void setRegisteredAt(String registeredAt)
registeredAt
- The time and date that the cluster was registered with the stack.public EcsCluster withRegisteredAt(String registeredAt)
Returns a reference to this object so that method calls can be chained together.
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()
Copyright © 2015. All rights reserved.