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 |
destinationPackageVersions(Collection<String> destinationPackageVersions)
The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully
completes.
|
CreateJobTemplateRequest.Builder |
destinationPackageVersions(String... destinationPackageVersions)
The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully
completes.
|
CreateJobTemplateRequest.Builder |
document(String document)
The job document.
|
CreateJobTemplateRequest.Builder |
documentSource(String documentSource)
An S3 link, or S3 object URL, to the job document.
|
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 |
maintenanceWindows(Collection<MaintenanceWindow> maintenanceWindows)
Allows you to configure an optional maintenance window for the rollout of a job document to all devices in
the target group for a job.
|
CreateJobTemplateRequest.Builder |
maintenanceWindows(Consumer<MaintenanceWindow.Builder>... maintenanceWindows)
Allows you to configure an optional maintenance window for the rollout of a job document to all devices in
the target group for a job.
|
CreateJobTemplateRequest.Builder |
maintenanceWindows(MaintenanceWindow... maintenanceWindows)
Allows you to configure an optional maintenance window for the rollout of a job document to all devices in
the target group for a job.
|
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, or S3 object URL, to the job document. The link is an Amazon S3 object URL and is required if you
don't specify a value for document.
For example,
--document-source https://s3.region-code.amazonaws.com/example-firmware/device-firmware.1.0
For more information, see Methods for accessing a bucket.
documentSource - An S3 link, or S3 object URL, to the job document. The link is an Amazon S3 object URL and is required
if you don't specify a value for document.
For example,
--document-source https://s3.region-code.amazonaws.com/example-firmware/device-firmware.1.0
For more information, see Methods for accessing a bucket.
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 maintenanceWindows(Collection<MaintenanceWindow> maintenanceWindows)
Allows you to configure an optional maintenance window for the rollout of a job document to all devices in the target group for a job.
maintenanceWindows - Allows you to configure an optional maintenance window for the rollout of a job document to all
devices in the target group for a job.CreateJobTemplateRequest.Builder maintenanceWindows(MaintenanceWindow... maintenanceWindows)
Allows you to configure an optional maintenance window for the rollout of a job document to all devices in the target group for a job.
maintenanceWindows - Allows you to configure an optional maintenance window for the rollout of a job document to all
devices in the target group for a job.CreateJobTemplateRequest.Builder maintenanceWindows(Consumer<MaintenanceWindow.Builder>... maintenanceWindows)
Allows you to configure an optional maintenance window for the rollout of a job document to all devices in the target group for a job.
This is a convenience method that creates an instance of theMaintenanceWindow.Builder avoiding the need to create one
manually via MaintenanceWindow.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #maintenanceWindows(List.
maintenanceWindows - a consumer that will call methods on
MaintenanceWindow.Builder#maintenanceWindows(java.util.Collection) CreateJobTemplateRequest.Builder destinationPackageVersions(Collection<String> destinationPackageVersions)
The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single string. Up to five strings are allowed.
destinationPackageVersions - The package version Amazon Resource Names (ARNs) that are installed on the device when the job
successfully completes.
Note:The following Length Constraints relates to a single string. Up to five strings are allowed.
CreateJobTemplateRequest.Builder destinationPackageVersions(String... destinationPackageVersions)
The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single string. Up to five strings are allowed.
destinationPackageVersions - The package version Amazon Resource Names (ARNs) that are installed on the device when the job
successfully completes.
Note:The following Length Constraints relates to a single string. Up to five strings are allowed.
CreateJobTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateJobTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.