public class StackSummary extends Object implements Serializable
Summarizes the number of layers, instances, and apps in a stack.
Constructor and Description |
---|
StackSummary() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Integer |
getAppsCount()
The number of apps.
|
InstancesCount |
getInstancesCount()
An
InstancesCount 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 |
setInstancesCount(InstancesCount instancesCount)
An
InstancesCount 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 |
withInstancesCount(InstancesCount instancesCount)
An
InstancesCount 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.
|
public String getStackId()
public void setStackId(String stackId)
stackId
- The stack ID.public StackSummary withStackId(String stackId)
Returns a reference to this object so that method calls can be chained together.
stackId
- The stack ID.public String getName()
public void setName(String name)
name
- The stack name.public StackSummary withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The stack name.public Integer getLayersCount()
public void setLayersCount(Integer layersCount)
layersCount
- The number of layers.public StackSummary withLayersCount(Integer layersCount)
Returns a reference to this object so that method calls can be chained together.
layersCount
- The number of layers.public Integer getAppsCount()
public void setAppsCount(Integer appsCount)
appsCount
- The number of apps.public StackSummary withAppsCount(Integer appsCount)
Returns a reference to this object so that method calls can be chained together.
appsCount
- The number of apps.public InstancesCount getInstancesCount()
InstancesCount
object with the number of instances in
each status.InstancesCount
object with the number of instances in
each status.public void setInstancesCount(InstancesCount instancesCount)
InstancesCount
object with the number of instances in
each status.instancesCount
- An InstancesCount
object with the number of instances in
each status.public StackSummary withInstancesCount(InstancesCount instancesCount)
InstancesCount
object with the number of instances in
each status.
Returns a reference to this object so that method calls can be chained together.
instancesCount
- An InstancesCount
object with the number of instances in
each status.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.