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:
  • Constructor Details

    • StackSummary

      public StackSummary()
  • Method Details

    • 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 - An InstancesCount 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 - An InstancesCount 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public StackSummary clone()
      Overrides:
      clone in class Object