public static interface CopyBackupRequest.Builder extends FSxRequest.Builder, SdkPojo, CopyableBuilder<CopyBackupRequest.Builder,CopyBackupRequest>
| Modifier and Type | Method and Description |
|---|---|
CopyBackupRequest.Builder |
clientRequestToken(String clientRequestToken)
Sets the value of the ClientRequestToken property for this object.
|
CopyBackupRequest.Builder |
copyTags(Boolean copyTags)
A Boolean flag indicating whether tags from the source backup should be copied to the backup copy.
|
CopyBackupRequest.Builder |
kmsKeyId(String kmsKeyId)
Sets the value of the KmsKeyId property for this object.
|
CopyBackupRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CopyBackupRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CopyBackupRequest.Builder |
sourceBackupId(String sourceBackupId)
The ID of the source backup.
|
CopyBackupRequest.Builder |
sourceRegion(String sourceRegion)
The source Amazon Web Services Region of the backup.
|
CopyBackupRequest.Builder |
tags(Collection<Tag> tags)
Sets the value of the Tags property for this object.
|
CopyBackupRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Sets the value of the Tags property for this object.
|
CopyBackupRequest.Builder |
tags(Tag... tags)
Sets the value of the Tags property for this object.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCopyBackupRequest.Builder clientRequestToken(String clientRequestToken)
clientRequestToken - The new value for the ClientRequestToken property for this object.CopyBackupRequest.Builder sourceBackupId(String sourceBackupId)
The ID of the source backup. Specifies the ID of the backup that's being copied.
sourceBackupId - The ID of the source backup. Specifies the ID of the backup that's being copied.CopyBackupRequest.Builder sourceRegion(String sourceRegion)
The source Amazon Web Services Region of the backup. Specifies the Amazon Web Services Region from which the
backup is being copied. The source and destination Regions must be in the same Amazon Web Services partition.
If you don't specify a Region, SourceRegion defaults to the Region where the request is sent
from (in-Region copy).
sourceRegion - The source Amazon Web Services Region of the backup. Specifies the Amazon Web Services Region from
which the backup is being copied. The source and destination Regions must be in the same Amazon Web
Services partition. If you don't specify a Region, SourceRegion defaults to the Region
where the request is sent from (in-Region copy).CopyBackupRequest.Builder kmsKeyId(String kmsKeyId)
kmsKeyId - The new value for the KmsKeyId property for this object.CopyBackupRequest.Builder copyTags(Boolean copyTags)
A Boolean flag indicating whether tags from the source backup should be copied to the backup copy. This value
defaults to false.
If you set CopyTags to true and the source backup has existing tags, you can use
the Tags parameter to create new tags, provided that the sum of the source backup tags and the
new tags doesn't exceed 50. Both sets of tags are merged. If there are tag conflicts (for example, two tags
with the same key but different values), the tags created with the Tags parameter take
precedence.
copyTags - A Boolean flag indicating whether tags from the source backup should be copied to the backup copy.
This value defaults to false.
If you set CopyTags to true and the source backup has existing tags, you can
use the Tags parameter to create new tags, provided that the sum of the source backup
tags and the new tags doesn't exceed 50. Both sets of tags are merged. If there are tag conflicts (for
example, two tags with the same key but different values), the tags created with the Tags
parameter take precedence.
CopyBackupRequest.Builder tags(Collection<Tag> tags)
tags - The new value for the Tags property for this object.CopyBackupRequest.Builder tags(Tag... tags)
tags - The new value for the Tags property for this object.CopyBackupRequest.Builder tags(Consumer<Tag.Builder>... tags)
Tag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) CopyBackupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCopyBackupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.