@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 |
target()
The Amazon Resource Name (ARN) of the target AWS Outpost for the snapshot copies.
|
String |
targetRegion()
The target Region for the snapshot copies.
|
CrossRegionCopyRule.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String targetRegion()
The target Region for the snapshot copies.
If you specify a target Region, you must omit Target. You cannot specify a target Region and a target Outpost in the same rule.
If you specify a target Region, you must omit Target. You cannot specify a target Region and a target Outpost in the same rule.
public final String target()
The Amazon Resource Name (ARN) of the target AWS Outpost for the snapshot copies.
If you specify an ARN, you must omit TargetRegion. You cannot specify a target Region and a target Outpost in the same rule.
If you specify an ARN, you must omit TargetRegion. You cannot specify a target Region and a target Outpost in the same rule.
public final 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 final 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 final Boolean copyTags()
Copy all user-defined tags from the source snapshot to the copied snapshot.
public final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.