Interface JobTemplate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<JobTemplate.Builder,
,JobTemplate> SdkBuilder<JobTemplate.Builder,
,JobTemplate> SdkPojo
- Enclosing class:
JobTemplate
@Mutable
@NotThreadSafe
public static interface JobTemplate.Builder
extends SdkPojo, CopyableBuilder<JobTemplate.Builder,JobTemplate>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the job template.The date and time when the job template was created.The user who created the job template.decryptionError
(String decryptionError) The error message in case the decryption of job template fails.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.jobTemplateData
(JobTemplateData jobTemplateData) The job template data which holds values of StartJobRun API request.The KMS key ARN used to encrypt the job template.The name of the job template.The tags assigned to the job template.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the job template.
- Parameters:
name
- The name of the job template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The ID of the job template.
- Parameters:
id
- The ID of the job template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the job template.
- Parameters:
arn
- The ARN of the job template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The date and time when the job template was created.
- Parameters:
createdAt
- The date and time when the job template was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
The user who created the job template.
- Parameters:
createdBy
- The user who created the job template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the job template.
- Parameters:
tags
- The tags assigned to the job template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobTemplateData
The job template data which holds values of StartJobRun API request.
- Parameters:
jobTemplateData
- The job template data which holds values of StartJobRun API request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaJobTemplateData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobTemplateData(JobTemplateData)
.- Parameters:
jobTemplateData
- a consumer that will call methods onJobTemplateData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKeyArn
The KMS key ARN used to encrypt the job template.
- Parameters:
kmsKeyArn
- The KMS key ARN used to encrypt the job template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
decryptionError
The error message in case the decryption of job template fails.
- Parameters:
decryptionError
- The error message in case the decryption of job template fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-