Class ListHsmsResult

    • Constructor Detail

      • ListHsmsResult

        public ListHsmsResult()
    • Method Detail

      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object