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