Interface CopyJobTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CopyJobTemplateRequest.Builder,
,CopyJobTemplateRequest> DeadlineRequest.Builder
,SdkBuilder<CopyJobTemplateRequest.Builder,
,CopyJobTemplateRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CopyJobTemplateRequest
@Mutable
@NotThreadSafe
public static interface CopyJobTemplateRequest.Builder
extends DeadlineRequest.Builder, SdkPojo, CopyableBuilder<CopyJobTemplateRequest.Builder,CopyJobTemplateRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe farm ID to copy.The job ID to copy.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The queue ID to copy.default CopyJobTemplateRequest.Builder
targetS3Location
(Consumer<S3Location.Builder> targetS3Location) The Amazon S3 bucket name and key where you would like to add a copy of the job template.targetS3Location
(S3Location targetS3Location) The Amazon S3 bucket name and key where you would like to add a copy of the job template.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineRequest.Builder
build
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
-
farmId
The farm ID to copy.
- Parameters:
farmId
- The farm ID to copy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobId
The job ID to copy.
- Parameters:
jobId
- The job ID to copy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueId
The queue ID to copy.
- Parameters:
queueId
- The queue ID to copy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetS3Location
The Amazon S3 bucket name and key where you would like to add a copy of the job template.
- Parameters:
targetS3Location
- The Amazon S3 bucket name and key where you would like to add a copy of the job template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetS3Location
default CopyJobTemplateRequest.Builder targetS3Location(Consumer<S3Location.Builder> targetS3Location) The Amazon S3 bucket name and key where you would like to add a copy of the job template.
This is a convenience method that creates an instance of theS3Location.Builder
avoiding the need to create one manually viaS3Location.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetS3Location(S3Location)
.- Parameters:
targetS3Location
- a consumer that will call methods onS3Location.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CopyJobTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CopyJobTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-