public static interface CrossRegionCopyRule.Builder extends SdkPojo, CopyableBuilder<CrossRegionCopyRule.Builder,CrossRegionCopyRule>
| Modifier and Type | Method and Description |
|---|---|
CrossRegionCopyRule.Builder |
cmkArn(String cmkArn)
The Amazon Resource Name (ARN) of the AWS KMS customer master key (CMK) to use for EBS encryption.
|
CrossRegionCopyRule.Builder |
copyTags(Boolean copyTags)
Copy all user-defined tags from the source snapshot to the copied snapshot.
|
CrossRegionCopyRule.Builder |
encrypted(Boolean encrypted)
To encrypt a copy of an unencrypted snapshot if encryption by default is not enabled, enable encryption using
this parameter.
|
default CrossRegionCopyRule.Builder |
retainRule(Consumer<CrossRegionCopyRetainRule.Builder> retainRule)
The retention rule.
|
CrossRegionCopyRule.Builder |
retainRule(CrossRegionCopyRetainRule retainRule)
The retention rule.
|
CrossRegionCopyRule.Builder |
targetRegion(String targetRegion)
The target Region.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCrossRegionCopyRule.Builder targetRegion(String targetRegion)
The target Region.
targetRegion - The target Region.CrossRegionCopyRule.Builder encrypted(Boolean encrypted)
To encrypt a copy of an unencrypted snapshot if encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or if encryption by default is not enabled.
encrypted - To encrypt a copy of an unencrypted snapshot if encryption by default is not enabled, enable
encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter
is false or if encryption by default is not enabled.CrossRegionCopyRule.Builder cmkArn(String cmkArn)
The Amazon Resource Name (ARN) of the AWS KMS customer master key (CMK) to use for EBS encryption. If this parameter is not specified, your AWS managed CMK for EBS is used.
cmkArn - The Amazon Resource Name (ARN) of the AWS KMS customer master key (CMK) to use for EBS encryption. If
this parameter is not specified, your AWS managed CMK for EBS is used.CrossRegionCopyRule.Builder copyTags(Boolean copyTags)
Copy all user-defined tags from the source snapshot to the copied snapshot.
copyTags - Copy all user-defined tags from the source snapshot to the copied snapshot.CrossRegionCopyRule.Builder retainRule(CrossRegionCopyRetainRule retainRule)
The retention rule.
retainRule - The retention rule.default CrossRegionCopyRule.Builder retainRule(Consumer<CrossRegionCopyRetainRule.Builder> retainRule)
The retention rule.
This is a convenience that creates an instance of theCrossRegionCopyRetainRule.Builder avoiding the
need to create one manually via CrossRegionCopyRetainRule.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to retainRule(CrossRegionCopyRetainRule).retainRule - a consumer that will call methods on CrossRegionCopyRetainRule.BuilderretainRule(CrossRegionCopyRetainRule)Copyright © 2020. All rights reserved.