Interface GetCommandResponse.Builder

  • Method Details

    • commandId

      GetCommandResponse.Builder commandId(String commandId)

      The unique identifier of the command.

      Parameters:
      commandId - The unique identifier of the command.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • commandArn

      GetCommandResponse.Builder commandArn(String commandArn)

      The Amazon Resource Number (ARN) of the command. For example, arn:aws:iot:<region>:<accountid>:command/<commandId>

      Parameters:
      commandArn - The Amazon Resource Number (ARN) of the command. For example, arn:aws:iot:<region>:<accountid>:command/<commandId>
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespace

      GetCommandResponse.Builder namespace(String 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:
    • displayName

      GetCommandResponse.Builder displayName(String displayName)

      The user-friendly name in the console for the command.

      Parameters:
      displayName - The user-friendly name in the console for the command.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      GetCommandResponse.Builder description(String description)

      A short text description of the command.

      Parameters:
      description - A short text description of the command.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mandatoryParameters

      GetCommandResponse.Builder mandatoryParameters(Collection<CommandParameter> mandatoryParameters)

      A list of parameters for the command created.

      Parameters:
      mandatoryParameters - A list of parameters for the command created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mandatoryParameters

      GetCommandResponse.Builder mandatoryParameters(CommandParameter... mandatoryParameters)

      A list of parameters for the command created.

      Parameters:
      mandatoryParameters - A list of parameters for the command created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mandatoryParameters

      GetCommandResponse.Builder mandatoryParameters(Consumer<CommandParameter.Builder>... mandatoryParameters)

      A list of parameters for the command created.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to mandatoryParameters(List<CommandParameter>).

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

      The payload object that you provided for the command.

      Parameters:
      payload - The payload object that you provided for the command.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • payload

      The payload object that you provided for the command.

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

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

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

      The IAM role that you provided when creating the command with AWS-IoT-FleetWise as the namespace.

      Parameters:
      roleArn - The IAM role that you provided when creating the command with AWS-IoT-FleetWise as the namespace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      GetCommandResponse.Builder createdAt(Instant createdAt)

      The timestamp, when the command was created.

      Parameters:
      createdAt - The timestamp, when the command was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedAt

      GetCommandResponse.Builder lastUpdatedAt(Instant lastUpdatedAt)

      The timestamp, when the command was last updated.

      Parameters:
      lastUpdatedAt - The timestamp, when the command was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deprecated

      GetCommandResponse.Builder deprecated(Boolean deprecated)

      Indicates whether the command has been deprecated.

      Parameters:
      deprecated - Indicates whether the command has been deprecated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pendingDeletion

      GetCommandResponse.Builder pendingDeletion(Boolean pendingDeletion)

      Indicates whether the command is being deleted.

      Parameters:
      pendingDeletion - Indicates whether the command is being deleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.