@Generated(value="software.amazon.awssdk:codegen") public final class CrossRegionCopyRule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CrossRegionCopyRule.Builder,CrossRegionCopyRule>
Specifies a rule for cross-Region snapshot copies.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CrossRegionCopyRule.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CrossRegionCopyRule.Builder |
builder() |
String |
cmkArn()
The Amazon Resource Name (ARN) of the AWS KMS customer master key (CMK) to use for EBS encryption.
|
Boolean |
copyTags()
Copy all user-defined tags from the source snapshot to the copied snapshot.
|
Boolean |
encrypted()
To encrypt a copy of an unencrypted snapshot if encryption by default is not enabled, enable encryption using
this parameter.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
CrossRegionCopyRetainRule |
retainRule()
The retention rule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CrossRegionCopyRule.Builder> |
serializableBuilderClass() |
String |
targetRegion()
The target Region.
|
CrossRegionCopyRule.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String targetRegion()
The target Region.
public 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.
public 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.
public Boolean copyTags()
Copy all user-defined tags from the source snapshot to the copied snapshot.
public CrossRegionCopyRetainRule retainRule()
The retention rule.
public CrossRegionCopyRule.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CrossRegionCopyRule.Builder,CrossRegionCopyRule>public static CrossRegionCopyRule.Builder builder()
public static Class<? extends CrossRegionCopyRule.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.