Class DescribeIdFormatResult

java.lang.Object
com.amazonaws.services.ec2.model.DescribeIdFormatResult
All Implemented Interfaces:
Serializable, Cloneable

public class DescribeIdFormatResult extends Object implements Serializable, Cloneable

Contains the output of DescribeIdFormat.

See Also:
  • Constructor Details

    • DescribeIdFormatResult

      public DescribeIdFormatResult()
  • Method Details

    • getStatuses

      public List<IdFormat> getStatuses()

      Information about the ID format for the resource.

      Returns:
      Information about the ID format for the resource.
    • setStatuses

      public void setStatuses(Collection<IdFormat> statuses)

      Information about the ID format for the resource.

      Parameters:
      statuses - Information about the ID format for the resource.
    • withStatuses

      public DescribeIdFormatResult withStatuses(IdFormat... statuses)

      Information about the ID format for the resource.

      NOTE: This method appends the values to the existing list (if any). Use setStatuses(java.util.Collection) or withStatuses(java.util.Collection) if you want to override the existing values.

      Parameters:
      statuses - Information about the ID format for the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withStatuses

      public DescribeIdFormatResult withStatuses(Collection<IdFormat> statuses)

      Information about the ID format for the resource.

      Parameters:
      statuses - Information about the ID format for the resource.
      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 DescribeIdFormatResult clone()
      Overrides:
      clone in class Object