Class CrossRegionCopyAction
- java.lang.Object
-
- software.amazon.awssdk.services.dlm.model.CrossRegionCopyAction
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CrossRegionCopyAction.Builder,CrossRegionCopyAction>
@Generated("software.amazon.awssdk:codegen") public final class CrossRegionCopyAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CrossRegionCopyAction.Builder,CrossRegionCopyAction>
[Event-based policies only] Specifies a cross-Region copy action for event-based policies.
To specify a cross-Region copy rule for snapshot and AMI policies, use CrossRegionCopyRule.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCrossRegionCopyAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CrossRegionCopyAction.Builderbuilder()EncryptionConfigurationencryptionConfiguration()The encryption settings for the copied snapshot.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()CrossRegionCopyRetainRuleretainRule()Returns the value of the RetainRule property for this object.List<SdkField<?>>sdkFields()static Class<? extends CrossRegionCopyAction.Builder>serializableBuilderClass()Stringtarget()The target Region.CrossRegionCopyAction.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
target
public final String target()
The target Region.
- Returns:
- The target Region.
-
encryptionConfiguration
public final EncryptionConfiguration encryptionConfiguration()
The encryption settings for the copied snapshot.
- Returns:
- The encryption settings for the copied snapshot.
-
retainRule
public final CrossRegionCopyRetainRule retainRule()
Returns the value of the RetainRule property for this object.- Returns:
- The value of the RetainRule property for this object.
-
toBuilder
public CrossRegionCopyAction.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CrossRegionCopyAction.Builder,CrossRegionCopyAction>
-
builder
public static CrossRegionCopyAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends CrossRegionCopyAction.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-