@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateJobTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateJobTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
CreateJobTemplateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AbortConfig |
getAbortConfig() |
String |
getDescription()
A description of the job document.
|
String |
getDocument()
The job document.
|
String |
getDocumentSource()
An S3 link to the job document to use in the template.
|
String |
getJobArn()
The ARN of the job to use as the basis for the job template.
|
JobExecutionsRolloutConfig |
getJobExecutionsRolloutConfig() |
String |
getJobTemplateId()
A unique identifier for the job template.
|
PresignedUrlConfig |
getPresignedUrlConfig() |
List<Tag> |
getTags()
Metadata that can be used to manage the job template.
|
TimeoutConfig |
getTimeoutConfig() |
int |
hashCode() |
void |
setAbortConfig(AbortConfig abortConfig) |
void |
setDescription(String description)
A description of the job document.
|
void |
setDocument(String document)
The job document.
|
void |
setDocumentSource(String documentSource)
An S3 link to the job document to use in the template.
|
void |
setJobArn(String jobArn)
The ARN of the job to use as the basis for the job template.
|
void |
setJobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig) |
void |
setJobTemplateId(String jobTemplateId)
A unique identifier for the job template.
|
void |
setPresignedUrlConfig(PresignedUrlConfig presignedUrlConfig) |
void |
setTags(Collection<Tag> tags)
Metadata that can be used to manage the job template.
|
void |
setTimeoutConfig(TimeoutConfig timeoutConfig) |
String |
toString()
Returns a string representation of this object.
|
CreateJobTemplateRequest |
withAbortConfig(AbortConfig abortConfig) |
CreateJobTemplateRequest |
withDescription(String description)
A description of the job document.
|
CreateJobTemplateRequest |
withDocument(String document)
The job document.
|
CreateJobTemplateRequest |
withDocumentSource(String documentSource)
An S3 link to the job document to use in the template.
|
CreateJobTemplateRequest |
withJobArn(String jobArn)
The ARN of the job to use as the basis for the job template.
|
CreateJobTemplateRequest |
withJobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig) |
CreateJobTemplateRequest |
withJobTemplateId(String jobTemplateId)
A unique identifier for the job template.
|
CreateJobTemplateRequest |
withPresignedUrlConfig(PresignedUrlConfig presignedUrlConfig) |
CreateJobTemplateRequest |
withTags(Collection<Tag> tags)
Metadata that can be used to manage the job template.
|
CreateJobTemplateRequest |
withTags(Tag... tags)
Metadata that can be used to manage the job template.
|
CreateJobTemplateRequest |
withTimeoutConfig(TimeoutConfig timeoutConfig) |
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 void setJobTemplateId(String jobTemplateId)
A unique identifier for the job template. We recommend using a UUID. Alpha-numeric characters, "-", and "_" are valid for use here.
jobTemplateId
- A unique identifier for the job template. We recommend using a UUID. Alpha-numeric characters, "-", and
"_" are valid for use here.public String getJobTemplateId()
A unique identifier for the job template. We recommend using a UUID. Alpha-numeric characters, "-", and "_" are valid for use here.
public CreateJobTemplateRequest withJobTemplateId(String jobTemplateId)
A unique identifier for the job template. We recommend using a UUID. Alpha-numeric characters, "-", and "_" are valid for use here.
jobTemplateId
- A unique identifier for the job template. We recommend using a UUID. Alpha-numeric characters, "-", and
"_" are valid for use here.public void setJobArn(String jobArn)
The ARN of the job to use as the basis for the job template.
jobArn
- The ARN of the job to use as the basis for the job template.public String getJobArn()
The ARN of the job to use as the basis for the job template.
public CreateJobTemplateRequest withJobArn(String jobArn)
The ARN of the job to use as the basis for the job template.
jobArn
- The ARN of the job to use as the basis for the job template.public void setDocumentSource(String documentSource)
An S3 link to the job document to use in the template. Required if you don't specify a value for
document
.
If the job document resides in an S3 bucket, you must use a placeholder link when specifying the document.
The placeholder link is of the following form:
${aws:iot:s3-presigned-url:https://s3.amazonaws.com/bucket/key}
where bucket is your bucket name and key is the object in the bucket to which you are linking.
documentSource
- An S3 link to the job document to use in the template. Required if you don't specify a value for
document
. If the job document resides in an S3 bucket, you must use a placeholder link when specifying the document.
The placeholder link is of the following form:
${aws:iot:s3-presigned-url:https://s3.amazonaws.com/bucket/key}
where bucket is your bucket name and key is the object in the bucket to which you are linking.
public String getDocumentSource()
An S3 link to the job document to use in the template. Required if you don't specify a value for
document
.
If the job document resides in an S3 bucket, you must use a placeholder link when specifying the document.
The placeholder link is of the following form:
${aws:iot:s3-presigned-url:https://s3.amazonaws.com/bucket/key}
where bucket is your bucket name and key is the object in the bucket to which you are linking.
document
. If the job document resides in an S3 bucket, you must use a placeholder link when specifying the document.
The placeholder link is of the following form:
${aws:iot:s3-presigned-url:https://s3.amazonaws.com/bucket/key}
where bucket is your bucket name and key is the object in the bucket to which you are linking.
public CreateJobTemplateRequest withDocumentSource(String documentSource)
An S3 link to the job document to use in the template. Required if you don't specify a value for
document
.
If the job document resides in an S3 bucket, you must use a placeholder link when specifying the document.
The placeholder link is of the following form:
${aws:iot:s3-presigned-url:https://s3.amazonaws.com/bucket/key}
where bucket is your bucket name and key is the object in the bucket to which you are linking.
documentSource
- An S3 link to the job document to use in the template. Required if you don't specify a value for
document
. If the job document resides in an S3 bucket, you must use a placeholder link when specifying the document.
The placeholder link is of the following form:
${aws:iot:s3-presigned-url:https://s3.amazonaws.com/bucket/key}
where bucket is your bucket name and key is the object in the bucket to which you are linking.
public void setDocument(String document)
The job document. Required if you don't specify a value for documentSource
.
document
- The job document. Required if you don't specify a value for documentSource
.public String getDocument()
The job document. Required if you don't specify a value for documentSource
.
documentSource
.public CreateJobTemplateRequest withDocument(String document)
The job document. Required if you don't specify a value for documentSource
.
document
- The job document. Required if you don't specify a value for documentSource
.public void setDescription(String description)
A description of the job document.
description
- A description of the job document.public String getDescription()
A description of the job document.
public CreateJobTemplateRequest withDescription(String description)
A description of the job document.
description
- A description of the job document.public void setPresignedUrlConfig(PresignedUrlConfig presignedUrlConfig)
presignedUrlConfig
- public PresignedUrlConfig getPresignedUrlConfig()
public CreateJobTemplateRequest withPresignedUrlConfig(PresignedUrlConfig presignedUrlConfig)
presignedUrlConfig
- public void setJobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig)
jobExecutionsRolloutConfig
- public JobExecutionsRolloutConfig getJobExecutionsRolloutConfig()
public CreateJobTemplateRequest withJobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig)
jobExecutionsRolloutConfig
- public void setAbortConfig(AbortConfig abortConfig)
abortConfig
- public AbortConfig getAbortConfig()
public CreateJobTemplateRequest withAbortConfig(AbortConfig abortConfig)
abortConfig
- public void setTimeoutConfig(TimeoutConfig timeoutConfig)
timeoutConfig
- public TimeoutConfig getTimeoutConfig()
public CreateJobTemplateRequest withTimeoutConfig(TimeoutConfig timeoutConfig)
timeoutConfig
- public List<Tag> getTags()
Metadata that can be used to manage the job template.
public void setTags(Collection<Tag> tags)
Metadata that can be used to manage the job template.
tags
- Metadata that can be used to manage the job template.public CreateJobTemplateRequest withTags(Tag... tags)
Metadata that can be used to manage the job template.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Metadata that can be used to manage the job template.public CreateJobTemplateRequest withTags(Collection<Tag> tags)
Metadata that can be used to manage the job template.
tags
- Metadata that can be used to manage the job template.public String toString()
toString
in class Object
Object.toString()
public CreateJobTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()