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 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.
-
-
-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public EcsCluster clone()
-
-