Interface CopyJobTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CopyJobTemplateRequest.Builder,,CopyJobTemplateRequest> DeadlineRequest.Builder,SdkBuilder<CopyJobTemplateRequest.Builder,,CopyJobTemplateRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CopyJobTemplateRequest
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.BuildertargetS3Location(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaS3Location.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-