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()booleanThe number of apps.getArn()The stack's ARN.AnInstancesCountobject with the number of instances in each status.The number of layers.getName()The stack name.The stack ID.inthashCode()voidsetAppsCount(Integer appsCount) The number of apps.voidThe stack's ARN.voidsetInstancesCount(InstancesCount instancesCount) AnInstancesCountobject with the number of instances in each status.voidsetLayersCount(Integer layersCount) The number of layers.voidThe stack name.voidsetStackId(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) AnInstancesCountobject 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
-
getStackId
-
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
-
getName
-
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
-
getArn
-
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
-
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
-
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
InstancesCountobject with the number of instances in each status.- Parameters:
instancesCount- AnInstancesCountobject with the number of instances in each status.
-
getInstancesCount
An
InstancesCountobject with the number of instances in each status.- Returns:
- An
InstancesCountobject with the number of instances in each status.
-
withInstancesCount
An
InstancesCountobject with the number of instances in each status.- Parameters:
instancesCount- AnInstancesCountobject with the number of instances in each status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-