Class DescribeCommandsResult

    • Constructor Detail

      • DescribeCommandsResult

        public DescribeCommandsResult()
    • Method Detail

      • getCommands

        public List<Command> getCommands()

        An array of Command objects that describe each of the specified commands.

        Returns:
        An array of Command objects that describe each of the specified commands.
      • setCommands

        public void setCommands​(Collection<Command> commands)

        An array of Command objects that describe each of the specified commands.

        Parameters:
        commands - An array of Command objects that describe each of the specified commands.
      • withCommands

        public DescribeCommandsResult withCommands​(Command... commands)

        An array of Command objects that describe each of the specified commands.

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

        Parameters:
        commands - An array of Command objects that describe each of the specified commands.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withCommands

        public DescribeCommandsResult withCommands​(Collection<Command> commands)

        An array of Command objects that describe each of the specified commands.

        Parameters:
        commands - An array of Command objects that describe each of the specified commands.
        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