Interface ListCommandsRequest.Builder

    • Method Detail

      • commandId

        ListCommandsRequest.Builder commandId​(String commandId)

        (Optional) If provided, lists only the specified command.

        Parameters:
        commandId - (Optional) If provided, lists only the specified command.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceId

        ListCommandsRequest.Builder instanceId​(String instanceId)

        (Optional) Lists commands issued against this managed node ID.

        You can't specify a managed node ID in the same command that you specify Status = Pending. This is because the command hasn't reached the managed node yet.

        Parameters:
        instanceId - (Optional) Lists commands issued against this managed node ID.

        You can't specify a managed node ID in the same command that you specify Status = Pending. This is because the command hasn't reached the managed node yet.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListCommandsRequest.Builder maxResults​(Integer maxResults)

        (Optional) The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

        Parameters:
        maxResults - (Optional) The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListCommandsRequest.Builder nextToken​(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.
      • filters

        ListCommandsRequest.Builder filters​(Collection<CommandFilter> filters)

        (Optional) One or more filters. Use a filter to return a more specific list of results.

        Parameters:
        filters - (Optional) One or more filters. Use a filter to return a more specific list of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        ListCommandsRequest.Builder filters​(CommandFilter... filters)

        (Optional) One or more filters. Use a filter to return a more specific list of results.

        Parameters:
        filters - (Optional) One or more filters. Use a filter to return a more specific list of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.