Class ListCommandsResult

    • Constructor Detail

      • ListCommandsResult

        public ListCommandsResult()
    • Method Detail

      • getCommands

        public List<Command> getCommands()

        (Optional) The list of commands requested by the user.

        Returns:
        (Optional) The list of commands requested by the user.
      • setCommands

        public void setCommands​(Collection<Command> commands)

        (Optional) The list of commands requested by the user.

        Parameters:
        commands - (Optional) The list of commands requested by the user.
      • withCommands

        public ListCommandsResult withCommands​(Command... commands)

        (Optional) The list of commands requested by the user.

        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 - (Optional) The list of commands requested by the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withCommands

        public ListCommandsResult withCommands​(Collection<Command> commands)

        (Optional) The list of commands requested by the user.

        Parameters:
        commands - (Optional) The list of commands requested by the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNextToken

        public void setNextToken​(String nextToken)

        (Optional) The token for the next set of items to return. (You received this token from a previous call.)

        Parameters:
        nextToken - (Optional) The token for the next set of items to return. (You received this token from a previous call.)
      • getNextToken

        public String getNextToken()

        (Optional) The token for the next set of items to return. (You received this token from a previous call.)

        Returns:
        (Optional) The token for the next set of items to return. (You received this token from a previous call.)
      • withNextToken

        public ListCommandsResult withNextToken​(String nextToken)

        (Optional) The token for the next set of items to return. (You received this token from a previous call.)

        Parameters:
        nextToken - (Optional) The token for the next set of items to return. (You received this token from a previous call.)
        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