Class DescribeCommandsRequest

    • Constructor Detail

      • DescribeCommandsRequest

        public DescribeCommandsRequest()
    • Method Detail

      • setDeploymentId

        public void setDeploymentId​(String deploymentId)

        The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.

        Parameters:
        deploymentId - The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.
      • getDeploymentId

        public String getDeploymentId()

        The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.

        Returns:
        The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.
      • withDeploymentId

        public DescribeCommandsRequest withDeploymentId​(String deploymentId)

        The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.

        Parameters:
        deploymentId - The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceId

        public void setInstanceId​(String instanceId)

        The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.

        Parameters:
        instanceId - The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.
      • getInstanceId

        public String getInstanceId()

        The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.

        Returns:
        The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.
      • withInstanceId

        public DescribeCommandsRequest withInstanceId​(String instanceId)

        The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.

        Parameters:
        instanceId - The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getCommandIds

        public List<String> getCommandIds()

        An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.

        Returns:
        An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.
      • setCommandIds

        public void setCommandIds​(Collection<String> commandIds)

        An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.

        Parameters:
        commandIds - An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.
      • withCommandIds

        public DescribeCommandsRequest withCommandIds​(String... commandIds)

        An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.

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

        Parameters:
        commandIds - An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withCommandIds

        public DescribeCommandsRequest withCommandIds​(Collection<String> commandIds)

        An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.

        Parameters:
        commandIds - An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.
        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