Interface AssociateTargetsWithJobRequest.Builder

    • Method Detail

      • targets

        AssociateTargetsWithJobRequest.Builder targets​(Collection<String> 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

        AssociateTargetsWithJobRequest.Builder targets​(String... 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

        AssociateTargetsWithJobRequest.Builder jobId​(String 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

        AssociateTargetsWithJobRequest.Builder comment​(String 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

        AssociateTargetsWithJobRequest.Builder namespaceId​(String 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.