Interface AssociateTargetsWithJobRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<AssociateTargetsWithJobRequest.Builder,AssociateTargetsWithJobRequest>, IotRequest.Builder, SdkBuilder<AssociateTargetsWithJobRequest.Builder,AssociateTargetsWithJobRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
AssociateTargetsWithJobRequest

public static interface AssociateTargetsWithJobRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<AssociateTargetsWithJobRequest.Builder,AssociateTargetsWithJobRequest>
  • Method Details

    • targets

      A list of thing group ARNs that define the targets of the job.

      Parameters:
      targets - A list of thing group ARNs that define the targets of the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targets

      A list of thing group ARNs that define the targets of the job.

      Parameters:
      targets - A list of thing group ARNs that define the targets of the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobId

      The unique identifier you assigned to this job when it was created.

      Parameters:
      jobId - The unique identifier you assigned to this job when it was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • comment

      An optional comment string describing why the job was associated with the targets.

      Parameters:
      comment - An optional comment string describing why the job was associated with the targets.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaceId

      The namespace used to indicate that a job is a customer-managed job.

      When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.

      $aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/

      The namespaceId feature is only supported by IoT Greengrass at this time. For more information, see Setting up IoT Greengrass core devices.

      Parameters:
      namespaceId - The namespace used to indicate that a job is a customer-managed job.

      When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.

      $aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/

      The namespaceId feature is only supported by IoT Greengrass at this time. For more information, see Setting up IoT Greengrass core devices.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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