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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssociateTargetsWithJobRequest.Builder
comment(String comment)
An optional comment string describing why the job was associated with the targets.AssociateTargetsWithJobRequest.Builder
jobId(String jobId)
The unique identifier you assigned to this job when it was created.AssociateTargetsWithJobRequest.Builder
namespaceId(String namespaceId)
The namespace used to indicate that a job is a customer-managed job.AssociateTargetsWithJobRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AssociateTargetsWithJobRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AssociateTargetsWithJobRequest.Builder
targets(String... targets)
A list of thing group ARNs that define the targets of the job.AssociateTargetsWithJobRequest.Builder
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, sdkFieldNameToField, sdkFields
-
-
-
-
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.
-
overrideConfiguration
AssociateTargetsWithJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
AssociateTargetsWithJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-