@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateTargetsWithJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AssociateTargetsWithJobRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateTargetsWithJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getComment()
An optional comment string describing why the job was associated with the targets.
|
String |
getJobId()
The unique identifier you assigned to this job when it was created.
|
String |
getNamespaceId()
The namespace used to indicate that a job is a customer-managed job.
|
List<String> |
getTargets()
A list of thing group ARNs that define the targets of the job.
|
int |
hashCode() |
void |
setComment(String comment)
An optional comment string describing why the job was associated with the targets.
|
void |
setJobId(String jobId)
The unique identifier you assigned to this job when it was created.
|
void |
setNamespaceId(String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
|
void |
setTargets(Collection<String> targets)
A list of thing group ARNs that define the targets of the job.
|
String |
toString()
Returns a string representation of this object.
|
AssociateTargetsWithJobRequest |
withComment(String comment)
An optional comment string describing why the job was associated with the targets.
|
AssociateTargetsWithJobRequest |
withJobId(String jobId)
The unique identifier you assigned to this job when it was created.
|
AssociateTargetsWithJobRequest |
withNamespaceId(String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
|
AssociateTargetsWithJobRequest |
withTargets(Collection<String> targets)
A list of thing group ARNs that define the targets of the job.
|
AssociateTargetsWithJobRequest |
withTargets(String... targets)
A list of thing group ARNs that define the targets of the job.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getTargets()
A list of thing group ARNs that define the targets of the job.
public void setTargets(Collection<String> targets)
A list of thing group ARNs that define the targets of the job.
targets
- A list of thing group ARNs that define the targets of the job.public AssociateTargetsWithJobRequest withTargets(String... targets)
A list of thing group ARNs that define the targets of the job.
NOTE: This method appends the values to the existing list (if any). Use
setTargets(java.util.Collection)
or withTargets(java.util.Collection)
if you want to override
the existing values.
targets
- A list of thing group ARNs that define the targets of the job.public AssociateTargetsWithJobRequest withTargets(Collection<String> targets)
A list of thing group ARNs that define the targets of the job.
targets
- A list of thing group ARNs that define the targets of the job.public void setJobId(String jobId)
The unique identifier you assigned to this job when it was created.
jobId
- The unique identifier you assigned to this job when it was created.public String getJobId()
The unique identifier you assigned to this job when it was created.
public AssociateTargetsWithJobRequest withJobId(String jobId)
The unique identifier you assigned to this job when it was created.
jobId
- The unique identifier you assigned to this job when it was created.public void setComment(String comment)
An optional comment string describing why the job was associated with the targets.
comment
- An optional comment string describing why the job was associated with the targets.public String getComment()
An optional comment string describing why the job was associated with the targets.
public AssociateTargetsWithJobRequest withComment(String comment)
An optional comment string describing why the job was associated with the targets.
comment
- An optional comment string describing why the job was associated with the targets.public void setNamespaceId(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.
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.
public String getNamespaceId()
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.
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.
public AssociateTargetsWithJobRequest withNamespaceId(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.
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.
public String toString()
toString
in class Object
Object.toString()
public AssociateTargetsWithJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()