public static interface JobTemplate.Builder extends SdkPojo, CopyableBuilder<JobTemplate.Builder,JobTemplate>
| Modifier and Type | Method and Description |
|---|---|
JobTemplate.Builder |
arn(String arn)
The ARN of the job template.
|
JobTemplate.Builder |
createdAt(Instant createdAt)
The date and time when the job template was created.
|
JobTemplate.Builder |
createdBy(String createdBy)
The user who created the job template.
|
JobTemplate.Builder |
decryptionError(String decryptionError)
The error message in case the decryption of job template fails.
|
JobTemplate.Builder |
id(String id)
The ID of the job template.
|
default JobTemplate.Builder |
jobTemplateData(Consumer<JobTemplateData.Builder> jobTemplateData)
The job template data which holds values of StartJobRun API request.
|
JobTemplate.Builder |
jobTemplateData(JobTemplateData jobTemplateData)
The job template data which holds values of StartJobRun API request.
|
JobTemplate.Builder |
kmsKeyArn(String kmsKeyArn)
The KMS key ARN used to encrypt the job template.
|
JobTemplate.Builder |
name(String name)
The name of the job template.
|
JobTemplate.Builder |
tags(Map<String,String> tags)
The tags assigned to the job template.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildJobTemplate.Builder name(String name)
The name of the job template.
name - The name of the job template.JobTemplate.Builder id(String id)
The ID of the job template.
id - The ID of the job template.JobTemplate.Builder arn(String arn)
The ARN of the job template.
arn - The ARN of the job template.JobTemplate.Builder createdAt(Instant createdAt)
The date and time when the job template was created.
createdAt - The date and time when the job template was created.JobTemplate.Builder createdBy(String createdBy)
The user who created the job template.
createdBy - The user who created the job template.JobTemplate.Builder tags(Map<String,String> tags)
The tags assigned to the job template.
tags - The tags assigned to the job template.JobTemplate.Builder jobTemplateData(JobTemplateData jobTemplateData)
The job template data which holds values of StartJobRun API request.
jobTemplateData - The job template data which holds values of StartJobRun API request.default JobTemplate.Builder jobTemplateData(Consumer<JobTemplateData.Builder> jobTemplateData)
The job template data which holds values of StartJobRun API request.
This is a convenience method that creates an instance of theJobTemplateData.Builder avoiding the
need to create one manually via JobTemplateData.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to jobTemplateData(JobTemplateData).
jobTemplateData - a consumer that will call methods on JobTemplateData.BuilderjobTemplateData(JobTemplateData)JobTemplate.Builder kmsKeyArn(String kmsKeyArn)
The KMS key ARN used to encrypt the job template.
kmsKeyArn - The KMS key ARN used to encrypt the job template.JobTemplate.Builder decryptionError(String decryptionError)
The error message in case the decryption of job template fails.
decryptionError - The error message in case the decryption of job template fails.Copyright © 2023. All rights reserved.