Interface ListCommandExecutionsRequest.Builder

  • Method Details

    • maxResults

      The maximum number of results to return in this operation.

      Parameters:
      maxResults - The maximum number of results to return in this operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

      Parameters:
      nextToken - To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespace

      The namespace of the command.

      Parameters:
      namespace - The namespace of the command.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • namespace

      The namespace of the command.

      Parameters:
      namespace - The namespace of the command.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      List all command executions for the device that have a particular status. For example, you can filter the list to display only command executions that have failed or timed out.

      Parameters:
      status - List all command executions for the device that have a particular status. For example, you can filter the list to display only command executions that have failed or timed out.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      List all command executions for the device that have a particular status. For example, you can filter the list to display only command executions that have failed or timed out.

      Parameters:
      status - List all command executions for the device that have a particular status. For example, you can filter the list to display only command executions that have failed or timed out.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sortOrder

      Specify whether to list the command executions that were created in the ascending or descending order. By default, the API returns all commands in the descending order based on the start time or completion time of the executions, that are determined by the startTimeFilter and completeTimeFilter parameters.

      Parameters:
      sortOrder - Specify whether to list the command executions that were created in the ascending or descending order. By default, the API returns all commands in the descending order based on the start time or completion time of the executions, that are determined by the startTimeFilter and completeTimeFilter parameters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sortOrder

      Specify whether to list the command executions that were created in the ascending or descending order. By default, the API returns all commands in the descending order based on the start time or completion time of the executions, that are determined by the startTimeFilter and completeTimeFilter parameters.

      Parameters:
      sortOrder - Specify whether to list the command executions that were created in the ascending or descending order. By default, the API returns all commands in the descending order based on the start time or completion time of the executions, that are determined by the startTimeFilter and completeTimeFilter parameters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • startedTimeFilter

      ListCommandExecutionsRequest.Builder startedTimeFilter(TimeFilter startedTimeFilter)

      List all command executions that started any time before or after the date and time that you specify. The date and time uses the format yyyy-MM-dd'T'HH:mm.

      Parameters:
      startedTimeFilter - List all command executions that started any time before or after the date and time that you specify. The date and time uses the format yyyy-MM-dd'T'HH:mm.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startedTimeFilter

      default ListCommandExecutionsRequest.Builder startedTimeFilter(Consumer<TimeFilter.Builder> startedTimeFilter)

      List all command executions that started any time before or after the date and time that you specify. The date and time uses the format yyyy-MM-dd'T'HH:mm.

      This is a convenience method that creates an instance of the TimeFilter.Builder avoiding the need to create one manually via TimeFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to startedTimeFilter(TimeFilter).

      Parameters:
      startedTimeFilter - a consumer that will call methods on TimeFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • completedTimeFilter

      ListCommandExecutionsRequest.Builder completedTimeFilter(TimeFilter completedTimeFilter)

      List all command executions that completed any time before or after the date and time that you specify. The date and time uses the format yyyy-MM-dd'T'HH:mm.

      Parameters:
      completedTimeFilter - List all command executions that completed any time before or after the date and time that you specify. The date and time uses the format yyyy-MM-dd'T'HH:mm.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • completedTimeFilter

      default ListCommandExecutionsRequest.Builder completedTimeFilter(Consumer<TimeFilter.Builder> completedTimeFilter)

      List all command executions that completed any time before or after the date and time that you specify. The date and time uses the format yyyy-MM-dd'T'HH:mm.

      This is a convenience method that creates an instance of the TimeFilter.Builder avoiding the need to create one manually via TimeFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to completedTimeFilter(TimeFilter).

      Parameters:
      completedTimeFilter - a consumer that will call methods on TimeFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • targetArn

      The Amazon Resource Number (ARN) of the target device. You can use this information to list all command executions for a particular device.

      Parameters:
      targetArn - The Amazon Resource Number (ARN) of the target device. You can use this information to list all command executions for a particular device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • commandArn

      The Amazon Resource Number (ARN) of the command. You can use this information to list all command executions for a particular command.

      Parameters:
      commandArn - The Amazon Resource Number (ARN) of the command. You can use this information to list all command executions for a particular command.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ListCommandExecutionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.