Interface AssociateTargetsWithJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AssociateTargetsWithJobRequest.Builder,
,AssociateTargetsWithJobRequest> IotRequest.Builder
,SdkBuilder<AssociateTargetsWithJobRequest.Builder,
,AssociateTargetsWithJobRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociateTargetsWithJobRequest
-
Method Summary
Modifier and TypeMethodDescriptionAn optional comment string describing why the job was associated with the targets.The unique identifier you assigned to this job when it was created.namespaceId
(String namespaceId) The namespace used to indicate that a job is a customer-managed job.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A list of thing group ARNs that define the targets of the job.targets
(Collection<String> targets) A list of thing group ARNs that define the targets of the job.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AssociateTargetsWithJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-