Interface GetCommandExecutionRequest.Builder

  • Method Details

    • executionId

      GetCommandExecutionRequest.Builder executionId(String executionId)

      The unique identifier for the command execution. This information is returned as a response of the StartCommandExecution API request.

      Parameters:
      executionId - The unique identifier for the command execution. This information is returned as a response of the StartCommandExecution API request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetArn

      The Amazon Resource Number (ARN) of the device on which the command execution is being performed.

      Parameters:
      targetArn - The Amazon Resource Number (ARN) of the device on which the command execution is being performed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • includeResult

      GetCommandExecutionRequest.Builder includeResult(Boolean includeResult)

      Can be used to specify whether to include the result of the command execution in the GetCommandExecution API response. Your device can use this field to provide additional information about the command execution. You only need to specify this field when using the AWS-IoT namespace.

      Parameters:
      includeResult - Can be used to specify whether to include the result of the command execution in the GetCommandExecution API response. Your device can use this field to provide additional information about the command execution. You only need to specify this field when using the AWS-IoT namespace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      GetCommandExecutionRequest.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.