Interface GetCommandExecutionRequest.Builder

    • Method Detail

      • 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

        GetCommandExecutionRequest.Builder targetArn​(String 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.