Class ListHsmsResult

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

public class ListHsmsResult extends Object implements Serializable, Cloneable

Contains the output of the ListHsms operation.

See Also:
  • Constructor Details

    • ListHsmsResult

      public ListHsmsResult()
  • Method Details

    • getHsmList

      public List<String> getHsmList()

      The list of ARNs that identify the HSMs.

      Returns:
      The list of ARNs that identify the HSMs.
    • setHsmList

      public void setHsmList(Collection<String> hsmList)

      The list of ARNs that identify the HSMs.

      Parameters:
      hsmList - The list of ARNs that identify the HSMs.
    • withHsmList

      public ListHsmsResult withHsmList(String... hsmList)

      The list of ARNs that identify the HSMs.

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

      Parameters:
      hsmList - The list of ARNs that identify the HSMs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withHsmList

      public ListHsmsResult withHsmList(Collection<String> hsmList)

      The list of ARNs that identify the HSMs.

      Parameters:
      hsmList - The list of ARNs that identify the HSMs.
      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 ListHsms to retrieve the next set of items.

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

      public String getNextToken()

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

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

      public ListHsmsResult withNextToken(String nextToken)

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

      Parameters:
      nextToken - If not null, more results are available. Pass this value to ListHsms 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 ListHsmsResult clone()
      Overrides:
      clone in class Object