Class EcsCluster
java.lang.Object
com.amazonaws.services.opsworks.model.EcsCluster
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a registered Amazon ECS cluster.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The cluster's ARN.The cluster name.The time and date that the cluster was registered with the stack.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.toString()
Returns a string representation of this object; useful for testing and debugging.withEcsClusterArn
(String ecsClusterArn) The cluster's ARN.withEcsClusterName
(String ecsClusterName) The cluster name.withRegisteredAt
(String registeredAt) The time and date that the cluster was registered with the stack.withStackId
(String stackId) The stack ID.
-
Constructor Details
-
EcsCluster
public EcsCluster()
-
-
Method Details
-
setEcsClusterArn
The cluster's ARN.
- Parameters:
ecsClusterArn
- The cluster's ARN.
-
getEcsClusterArn
The cluster's ARN.
- Returns:
- The cluster's ARN.
-
withEcsClusterArn
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
The cluster name.
- Parameters:
ecsClusterName
- The cluster name.
-
getEcsClusterName
The cluster name.
- Returns:
- The cluster name.
-
withEcsClusterName
The cluster name.
- Parameters:
ecsClusterName
- The cluster name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStackId
The stack ID.
- Parameters:
stackId
- The stack ID.
-
getStackId
The stack ID.
- Returns:
- The stack ID.
-
withStackId
The stack ID.
- Parameters:
stackId
- The stack ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRegisteredAt
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-