public class StackSummary
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Summarizes the number of layers, instances, and apps in a stack.
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
appsCount
The number of apps.
|
private java.lang.String |
arn
The stack's ARN.
|
private InstancesCount |
instancesCount
An
InstancesCount object with the number of instances in
each status. |
private java.lang.Integer |
layersCount
The number of layers.
|
private java.lang.String |
name
The stack name.
|
private java.lang.String |
stackId
The stack ID.
|
Constructor and Description |
---|
StackSummary() |
Modifier and Type | Method and Description |
---|---|
StackSummary |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getAppsCount()
The number of apps.
|
java.lang.String |
getArn()
The stack's ARN.
|
InstancesCount |
getInstancesCount()
An
InstancesCount object with the number of instances in
each status. |
java.lang.Integer |
getLayersCount()
The number of layers.
|
java.lang.String |
getName()
The stack name.
|
java.lang.String |
getStackId()
The stack ID.
|
int |
hashCode() |
void |
setAppsCount(java.lang.Integer appsCount)
The number of apps.
|
void |
setArn(java.lang.String arn)
The stack's ARN.
|
void |
setInstancesCount(InstancesCount instancesCount)
An
InstancesCount object with the number of instances in
each status. |
void |
setLayersCount(java.lang.Integer layersCount)
The number of layers.
|
void |
setName(java.lang.String name)
The stack name.
|
void |
setStackId(java.lang.String stackId)
The stack ID.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StackSummary |
withAppsCount(java.lang.Integer appsCount)
The number of apps.
|
StackSummary |
withArn(java.lang.String arn)
The stack's ARN.
|
StackSummary |
withInstancesCount(InstancesCount instancesCount)
An
InstancesCount object with the number of instances in
each status. |
StackSummary |
withLayersCount(java.lang.Integer layersCount)
The number of layers.
|
StackSummary |
withName(java.lang.String name)
The stack name.
|
StackSummary |
withStackId(java.lang.String stackId)
The stack ID.
|
private java.lang.String stackId
The stack ID.
private java.lang.String name
The stack name.
private java.lang.String arn
The stack's ARN.
private java.lang.Integer layersCount
The number of layers.
private java.lang.Integer appsCount
The number of apps.
private InstancesCount instancesCount
An InstancesCount
object with the number of instances in
each status.
public void setStackId(java.lang.String stackId)
The stack ID.
stackId
- The stack ID.public java.lang.String getStackId()
The stack ID.
public StackSummary withStackId(java.lang.String stackId)
The stack ID.
stackId
- The stack ID.public void setName(java.lang.String name)
The stack name.
name
- The stack name.public java.lang.String getName()
The stack name.
public StackSummary withName(java.lang.String name)
The stack name.
name
- The stack name.public void setArn(java.lang.String arn)
The stack's ARN.
arn
- The stack's ARN.public java.lang.String getArn()
The stack's ARN.
public StackSummary withArn(java.lang.String arn)
The stack's ARN.
arn
- The stack's ARN.public void setLayersCount(java.lang.Integer layersCount)
The number of layers.
layersCount
- The number of layers.public java.lang.Integer getLayersCount()
The number of layers.
public StackSummary withLayersCount(java.lang.Integer layersCount)
The number of layers.
layersCount
- The number of layers.public void setAppsCount(java.lang.Integer appsCount)
The number of apps.
appsCount
- The number of apps.public java.lang.Integer getAppsCount()
The number of apps.
public StackSummary withAppsCount(java.lang.Integer appsCount)
The number of apps.
appsCount
- The number of apps.public void setInstancesCount(InstancesCount instancesCount)
An InstancesCount
object with the number of instances in
each status.
instancesCount
- An InstancesCount
object with the number of instances
in each status.public InstancesCount getInstancesCount()
An InstancesCount
object with the number of instances in
each status.
InstancesCount
object with the number of
instances in each status.public StackSummary withInstancesCount(InstancesCount instancesCount)
An InstancesCount
object with the number of instances in
each status.
instancesCount
- An InstancesCount
object with the number of instances
in each status.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public StackSummary clone()
clone
in class java.lang.Object