com.amazonaws.services.opsworks.model
Class StackSummary

java.lang.Object
  extended by com.amazonaws.services.opsworks.model.StackSummary
All Implemented Interfaces:
Serializable

public class StackSummary
extends Object
implements Serializable

Summarizes the number of layers, instances, and apps in a stack.

See Also:
Serialized Form

Constructor Summary
StackSummary()
           
 
Method Summary
 boolean equals(Object obj)
           
 Integer getAppsCount()
          The number of apps.
 String getArn()
          The stack's ARN.
 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 setArn(String arn)
          The stack's ARN.
 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 withArn(String arn)
          The stack's ARN.
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StackSummary

public StackSummary()
Method Detail

getStackId

public String getStackId()
The stack ID.

Returns:
The stack ID.

setStackId

public void setStackId(String stackId)
The stack ID.

Parameters:
stackId - The stack ID.

withStackId

public StackSummary withStackId(String stackId)
The stack ID.

Returns a reference to this object so that method calls can be chained together.

Parameters:
stackId - The stack ID.
Returns:
A reference to this updated object so that method calls can be chained together.

getName

public String getName()
The stack name.

Returns:
The stack name.

setName

public void setName(String name)
The stack name.

Parameters:
name - The stack name.

withName

public StackSummary withName(String name)
The stack name.

Returns a reference to this object so that method calls can be chained together.

Parameters:
name - The stack name.
Returns:
A reference to this updated object so that method calls can be chained together.

getArn

public String getArn()
The stack's ARN.

Returns:
The stack's ARN.

setArn

public void setArn(String arn)
The stack's ARN.

Parameters:
arn - The stack's ARN.

withArn

public StackSummary withArn(String arn)
The stack's ARN.

Returns a reference to this object so that method calls can be chained together.

Parameters:
arn - The stack's ARN.
Returns:
A reference to this updated object so that method calls can be chained together.

getLayersCount

public Integer getLayersCount()
The number of layers.

Returns:
The number of layers.

setLayersCount

public void setLayersCount(Integer layersCount)
The number of layers.

Parameters:
layersCount - The number of layers.

withLayersCount

public StackSummary withLayersCount(Integer layersCount)
The number of layers.

Returns a reference to this object so that method calls can be chained together.

Parameters:
layersCount - The number of layers.
Returns:
A reference to this updated object so that method calls can be chained together.

getAppsCount

public Integer getAppsCount()
The number of apps.

Returns:
The number of apps.

setAppsCount

public void setAppsCount(Integer appsCount)
The number of apps.

Parameters:
appsCount - The number of apps.

withAppsCount

public StackSummary withAppsCount(Integer appsCount)
The number of apps.

Returns a reference to this object so that method calls can be chained together.

Parameters:
appsCount - The number of apps.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

setInstancesCount

public void setInstancesCount(InstancesCount instancesCount)
An InstancesCount object with the number of instances in each status.

Parameters:
instancesCount - 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instancesCount - An InstancesCount object with the number of instances in each status.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.