Interface StartCopyJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BackupRequest.Builder,Buildable,CopyableBuilder<StartCopyJobRequest.Builder,,StartCopyJobRequest> SdkBuilder<StartCopyJobRequest.Builder,,StartCopyJobRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartCopyJobRequest
-
Method Summary
Modifier and TypeMethodDescriptiondestinationBackupVaultArn(String destinationBackupVaultArn) An Amazon Resource Name (ARN) that uniquely identifies a destination backup vault to copy to; for example,arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault.iamRoleArn(String iamRoleArn) Specifies the IAM role ARN used to copy the target recovery point; for example,arn:aws:iam::123456789012:role/S3Access.idempotencyToken(String idempotencyToken) A customer-chosen string that you can use to distinguish between otherwise identical calls toStartCopyJob.default StartCopyJobRequest.Builderlifecycle(Consumer<Lifecycle.Builder> lifecycle) Sets the value of the Lifecycle property for this object.Sets the value of the Lifecycle property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.recoveryPointArn(String recoveryPointArn) An ARN that uniquely identifies a recovery point to use for the copy job; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.sourceBackupVaultName(String sourceBackupVaultName) The name of a logical source container where backups are stored.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.backup.model.BackupRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
recoveryPointArn
An ARN that uniquely identifies a recovery point to use for the copy job; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
- Parameters:
recoveryPointArn- An ARN that uniquely identifies a recovery point to use for the copy job; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceBackupVaultName
The name of a logical source container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created.
- Parameters:
sourceBackupVaultName- The name of a logical source container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationBackupVaultArn
An Amazon Resource Name (ARN) that uniquely identifies a destination backup vault to copy to; for example,
arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault.- Parameters:
destinationBackupVaultArn- An Amazon Resource Name (ARN) that uniquely identifies a destination backup vault to copy to; for example,arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamRoleArn
Specifies the IAM role ARN used to copy the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access.- Parameters:
iamRoleArn- Specifies the IAM role ARN used to copy the target recovery point; for example,arn:aws:iam::123456789012:role/S3Access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
idempotencyToken
A customer-chosen string that you can use to distinguish between otherwise identical calls to
StartCopyJob. Retrying a successful request with the same idempotency token results in a success message with no action taken.- Parameters:
idempotencyToken- A customer-chosen string that you can use to distinguish between otherwise identical calls toStartCopyJob. Retrying a successful request with the same idempotency token results in a success message with no action taken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycle
Sets the value of the Lifecycle property for this object.- Parameters:
lifecycle- The new value for the Lifecycle property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycle
Sets the value of the Lifecycle property for this object. This is a convenience method that creates an instance of theLifecycle.Builderavoiding the need to create one manually viaLifecycle.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolifecycle(Lifecycle).- Parameters:
lifecycle- a consumer that will call methods onLifecycle.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartCopyJobRequest.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
StartCopyJobRequest.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.
-