Class EcsCluster
- java.lang.Object
-
- com.amazonaws.services.opsworks.model.EcsCluster
-
- All Implemented Interfaces:
Serializable,Cloneable
public class EcsCluster extends Object implements Serializable, Cloneable
Describes a registered Amazon ECS cluster.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EcsCluster()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EcsClusterclone()booleanequals(Object obj)StringgetEcsClusterArn()The cluster's ARN.StringgetEcsClusterName()The cluster name.StringgetRegisteredAt()The time and date that the cluster was registered with the stack.StringgetStackId()The stack ID.inthashCode()voidsetEcsClusterArn(String ecsClusterArn)The cluster's ARN.voidsetEcsClusterName(String ecsClusterName)The cluster name.voidsetRegisteredAt(String registeredAt)The time and date that the cluster was registered with the stack.voidsetStackId(String stackId)The stack ID.StringtoString()Returns a string representation of this object; useful for testing and debugging.EcsClusterwithEcsClusterArn(String ecsClusterArn)The cluster's ARN.EcsClusterwithEcsClusterName(String ecsClusterName)The cluster name.EcsClusterwithRegisteredAt(String registeredAt)The time and date that the cluster was registered with the stack.EcsClusterwithStackId(String stackId)The stack ID.
-
-
-
Method Detail
-
setEcsClusterArn
public void setEcsClusterArn(String ecsClusterArn)
The cluster's ARN.
- Parameters:
ecsClusterArn- The cluster's ARN.
-
getEcsClusterArn
public String getEcsClusterArn()
The cluster's ARN.
- Returns:
- The cluster's ARN.
-
withEcsClusterArn
public EcsCluster withEcsClusterArn(String ecsClusterArn)
The cluster's ARN.
- Parameters:
ecsClusterArn- The cluster's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEcsClusterName
public void setEcsClusterName(String ecsClusterName)
The cluster name.
- Parameters:
ecsClusterName- The cluster name.
-
getEcsClusterName
public String getEcsClusterName()
The cluster name.
- Returns:
- The cluster name.
-
withEcsClusterName
public EcsCluster withEcsClusterName(String ecsClusterName)
The cluster name.
- Parameters:
ecsClusterName- The cluster name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStackId
public void setStackId(String stackId)
The stack ID.
- Parameters:
stackId- The stack ID.
-
getStackId
public String getStackId()
The stack ID.
- Returns:
- The stack ID.
-
withStackId
public EcsCluster withStackId(String stackId)
The stack ID.
- Parameters:
stackId- The stack ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRegisteredAt
public void setRegisteredAt(String registeredAt)
The time and date that the cluster was registered with the stack.
- Parameters:
registeredAt- The time and date that the cluster was registered with the stack.
-
getRegisteredAt
public String getRegisteredAt()
The time and date that the cluster was registered with the stack.
- Returns:
- The time and date that the cluster was registered with the stack.
-
withRegisteredAt
public EcsCluster withRegisteredAt(String registeredAt)
The time and date that the cluster was registered with the stack.
- Parameters:
registeredAt- The time and date that the cluster was registered with the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public EcsCluster clone()
-
-