@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.
|
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 |
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 |
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 String toString()
toString
in class Object
Object.toString()
public AssociateTargetsWithJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.