Class ListHapgsResult

java.lang.Object
com.amazonaws.services.cloudhsm.model.ListHapgsResult
All Implemented Interfaces:
Serializable, Cloneable

public class ListHapgsResult extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • ListHapgsResult

      public ListHapgsResult()
  • Method Details

    • getHapgList

      public List<String> getHapgList()

      The list of high-availability partition groups.

      Returns:
      The list of high-availability partition groups.
    • setHapgList

      public void setHapgList(Collection<String> hapgList)

      The list of high-availability partition groups.

      Parameters:
      hapgList - The list of high-availability partition groups.
    • withHapgList

      public ListHapgsResult withHapgList(String... hapgList)

      The list of high-availability partition groups.

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

      Parameters:
      hapgList - The list of high-availability partition groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withHapgList

      public ListHapgsResult withHapgList(Collection<String> hapgList)

      The list of high-availability partition groups.

      Parameters:
      hapgList - The list of high-availability partition groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNextToken

      public void setNextToken(String nextToken)

      If not null, more results are available. Pass this value to ListHapgs to retrieve the next set of items.

      Parameters:
      nextToken - If not null, more results are available. Pass this value to ListHapgs to retrieve the next set of items.
    • getNextToken

      public String getNextToken()

      If not null, more results are available. Pass this value to ListHapgs to retrieve the next set of items.

      Returns:
      If not null, more results are available. Pass this value to ListHapgs to retrieve the next set of items.
    • withNextToken

      public ListHapgsResult withNextToken(String nextToken)

      If not null, more results are available. Pass this value to ListHapgs to retrieve the next set of items.

      Parameters:
      nextToken - If not null, more results are available. Pass this value to ListHapgs to retrieve the next set of items.
      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 ListHapgsResult clone()
      Overrides:
      clone in class Object