public static interface CreateJobTemplateRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreateJobTemplateRequest.Builder,CreateJobTemplateRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateJobTemplateRequest.Builder |
abortConfig(AbortConfig abortConfig)
Sets the value of the AbortConfig property for this object.
|
default CreateJobTemplateRequest.Builder |
abortConfig(Consumer<AbortConfig.Builder> abortConfig)
Sets the value of the AbortConfig property for this object.
|
CreateJobTemplateRequest.Builder |
description(String description)
A description of the job document.
|
CreateJobTemplateRequest.Builder |
document(String document)
The job document.
|
CreateJobTemplateRequest.Builder |
documentSource(String documentSource)
An S3 link to the job document to use in the template.
|
CreateJobTemplateRequest.Builder |
jobArn(String jobArn)
The ARN of the job to use as the basis for the job template.
|
default CreateJobTemplateRequest.Builder |
jobExecutionsRetryConfig(Consumer<JobExecutionsRetryConfig.Builder> jobExecutionsRetryConfig)
Allows you to create the criteria to retry a job.
|
CreateJobTemplateRequest.Builder |
jobExecutionsRetryConfig(JobExecutionsRetryConfig jobExecutionsRetryConfig)
Allows you to create the criteria to retry a job.
|
default CreateJobTemplateRequest.Builder |
jobExecutionsRolloutConfig(Consumer<JobExecutionsRolloutConfig.Builder> jobExecutionsRolloutConfig)
Sets the value of the JobExecutionsRolloutConfig property for this object.
|
CreateJobTemplateRequest.Builder |
jobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig)
Sets the value of the JobExecutionsRolloutConfig property for this object.
|
CreateJobTemplateRequest.Builder |
jobTemplateId(String jobTemplateId)
A unique identifier for the job template.
|
CreateJobTemplateRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateJobTemplateRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default CreateJobTemplateRequest.Builder |
presignedUrlConfig(Consumer<PresignedUrlConfig.Builder> presignedUrlConfig)
Sets the value of the PresignedUrlConfig property for this object.
|
CreateJobTemplateRequest.Builder |
presignedUrlConfig(PresignedUrlConfig presignedUrlConfig)
Sets the value of the PresignedUrlConfig property for this object.
|
CreateJobTemplateRequest.Builder |
tags(Collection<Tag> tags)
Metadata that can be used to manage the job template.
|
CreateJobTemplateRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Metadata that can be used to manage the job template.
|
CreateJobTemplateRequest.Builder |
tags(Tag... tags)
Metadata that can be used to manage the job template.
|
default CreateJobTemplateRequest.Builder |
timeoutConfig(Consumer<TimeoutConfig.Builder> timeoutConfig)
Sets the value of the TimeoutConfig property for this object.
|
CreateJobTemplateRequest.Builder |
timeoutConfig(TimeoutConfig timeoutConfig)
Sets the value of the TimeoutConfig property for this object.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateJobTemplateRequest.Builder jobTemplateId(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.CreateJobTemplateRequest.Builder jobArn(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.CreateJobTemplateRequest.Builder documentSource(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.
CreateJobTemplateRequest.Builder document(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.CreateJobTemplateRequest.Builder description(String description)
A description of the job document.
description - A description of the job document.CreateJobTemplateRequest.Builder presignedUrlConfig(PresignedUrlConfig presignedUrlConfig)
presignedUrlConfig - The new value for the PresignedUrlConfig property for this object.default CreateJobTemplateRequest.Builder presignedUrlConfig(Consumer<PresignedUrlConfig.Builder> presignedUrlConfig)
PresignedUrlConfig.Builder avoiding the
need to create one manually via PresignedUrlConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to presignedUrlConfig(PresignedUrlConfig).
presignedUrlConfig - a consumer that will call methods on PresignedUrlConfig.BuilderpresignedUrlConfig(PresignedUrlConfig)CreateJobTemplateRequest.Builder jobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig)
jobExecutionsRolloutConfig - The new value for the JobExecutionsRolloutConfig property for this object.default CreateJobTemplateRequest.Builder jobExecutionsRolloutConfig(Consumer<JobExecutionsRolloutConfig.Builder> jobExecutionsRolloutConfig)
JobExecutionsRolloutConfig.Builder
avoiding the need to create one manually via JobExecutionsRolloutConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to jobExecutionsRolloutConfig(JobExecutionsRolloutConfig).
jobExecutionsRolloutConfig - a consumer that will call methods on JobExecutionsRolloutConfig.BuilderjobExecutionsRolloutConfig(JobExecutionsRolloutConfig)CreateJobTemplateRequest.Builder abortConfig(AbortConfig abortConfig)
abortConfig - The new value for the AbortConfig property for this object.default CreateJobTemplateRequest.Builder abortConfig(Consumer<AbortConfig.Builder> abortConfig)
AbortConfig.Builder avoiding the need to
create one manually via AbortConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to abortConfig(AbortConfig).
abortConfig - a consumer that will call methods on AbortConfig.BuilderabortConfig(AbortConfig)CreateJobTemplateRequest.Builder timeoutConfig(TimeoutConfig timeoutConfig)
timeoutConfig - The new value for the TimeoutConfig property for this object.default CreateJobTemplateRequest.Builder timeoutConfig(Consumer<TimeoutConfig.Builder> timeoutConfig)
TimeoutConfig.Builder avoiding the need
to create one manually via TimeoutConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to timeoutConfig(TimeoutConfig).
timeoutConfig - a consumer that will call methods on TimeoutConfig.BuildertimeoutConfig(TimeoutConfig)CreateJobTemplateRequest.Builder tags(Collection<Tag> tags)
Metadata that can be used to manage the job template.
tags - Metadata that can be used to manage the job template.CreateJobTemplateRequest.Builder tags(Tag... tags)
Metadata that can be used to manage the job template.
tags - Metadata that can be used to manage the job template.CreateJobTemplateRequest.Builder tags(Consumer<Tag.Builder>... tags)
Metadata that can be used to manage the job template.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) CreateJobTemplateRequest.Builder jobExecutionsRetryConfig(JobExecutionsRetryConfig jobExecutionsRetryConfig)
Allows you to create the criteria to retry a job.
jobExecutionsRetryConfig - Allows you to create the criteria to retry a job.default CreateJobTemplateRequest.Builder jobExecutionsRetryConfig(Consumer<JobExecutionsRetryConfig.Builder> jobExecutionsRetryConfig)
Allows you to create the criteria to retry a job.
This is a convenience method that creates an instance of theJobExecutionsRetryConfig.Builder
avoiding the need to create one manually via JobExecutionsRetryConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to jobExecutionsRetryConfig(JobExecutionsRetryConfig).
jobExecutionsRetryConfig - a consumer that will call methods on JobExecutionsRetryConfig.BuilderjobExecutionsRetryConfig(JobExecutionsRetryConfig)CreateJobTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateJobTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.