Class GetAttributesResult

    • Constructor Detail

      • GetAttributesResult

        public GetAttributesResult()
    • Method Detail

      • getAttributes

        public List<Attribute> getAttributes()
        The list of attributes returned by the operation.
        Returns:
        The list of attributes returned by the operation.
      • setAttributes

        public void setAttributes​(Collection<Attribute> attributes)
        The list of attributes returned by the operation.
        Parameters:
        attributes - The list of attributes returned by the operation.
      • withAttributes

        public GetAttributesResult withAttributes​(Attribute... attributes)
        The list of attributes returned by the operation.

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

        Parameters:
        attributes - The list of attributes returned by the operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withAttributes

        public GetAttributesResult withAttributes​(Collection<Attribute> attributes)
        The list of attributes returned by the operation.
        Parameters:
        attributes - The list of attributes returned by the operation.
        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