Interface GetCommandResponse.Builder

    • Method Detail

      • 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.
      • 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.
      • payload

        GetCommandResponse.Builder payload​(CommandPayload 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.
      • roleArn

        GetCommandResponse.Builder roleArn​(String roleArn)

        The IAM role that allows access to retrieve information about the command.

        Parameters:
        roleArn - The IAM role that allows access to retrieve information about the command.
        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.