Class StackSummary
java.lang.Object
com.amazonaws.services.opsworks.model.StackSummary
- All Implemented Interfaces:
Serializable
,Cloneable
Summarizes the number of layers, instances, and apps in a stack.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The number of apps.getArn()
The stack's ARN.AnInstancesCount
object with the number of instances in each status.The number of layers.getName()
The stack name.The stack ID.int
hashCode()
void
setAppsCount
(Integer appsCount) The number of apps.void
The stack's ARN.void
setInstancesCount
(InstancesCount instancesCount) AnInstancesCount
object with the number of instances in each status.void
setLayersCount
(Integer layersCount) The number of layers.void
The stack name.void
setStackId
(String stackId) The stack ID.toString()
Returns a string representation of this object; useful for testing and debugging.withAppsCount
(Integer appsCount) The number of apps.The stack's ARN.withInstancesCount
(InstancesCount instancesCount) AnInstancesCount
object with the number of instances in each status.withLayersCount
(Integer layersCount) The number of layers.The stack name.withStackId
(String stackId) The stack ID.
-
Constructor Details
-
StackSummary
public StackSummary()
-
-
Method Details
-
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.
-
setName
The stack name.
- Parameters:
name
- The stack name.
-
getName
The stack name.
- Returns:
- The stack name.
-
withName
The stack name.
- Parameters:
name
- The stack name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setArn
The stack's ARN.
- Parameters:
arn
- The stack's ARN.
-
getArn
The stack's ARN.
- Returns:
- The stack's ARN.
-
withArn
The stack's ARN.
- Parameters:
arn
- The stack's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLayersCount
The number of layers.
- Parameters:
layersCount
- The number of layers.
-
getLayersCount
The number of layers.
- Returns:
- The number of layers.
-
withLayersCount
The number of layers.
- Parameters:
layersCount
- The number of layers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAppsCount
The number of apps.
- Parameters:
appsCount
- The number of apps.
-
getAppsCount
The number of apps.
- Returns:
- The number of apps.
-
withAppsCount
The number of apps.
- Parameters:
appsCount
- The number of apps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstancesCount
An
InstancesCount
object with the number of instances in each status.- Parameters:
instancesCount
- AnInstancesCount
object with the number of instances in each status.
-
getInstancesCount
An
InstancesCount
object with the number of instances in each status.- Returns:
- An
InstancesCount
object with the number of instances in each status.
-
withInstancesCount
An
InstancesCount
object with the number of instances in each status.- Parameters:
instancesCount
- AnInstancesCount
object with the number of instances in each status.- 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
-