Interface CrossRegionCopyAction.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<CrossRegionCopyAction.Builder,,CrossRegionCopyAction> SdkBuilder<CrossRegionCopyAction.Builder,,CrossRegionCopyAction> SdkPojo
- Enclosing class:
 CrossRegionCopyAction
public static interface CrossRegionCopyAction.Builder
extends SdkPojo, CopyableBuilder<CrossRegionCopyAction.Builder,CrossRegionCopyAction> 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault CrossRegionCopyAction.BuilderencryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) The encryption settings for the copied snapshot.encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) The encryption settings for the copied snapshot.default CrossRegionCopyAction.BuilderretainRule(Consumer<CrossRegionCopyRetainRule.Builder> retainRule) Sets the value of the RetainRule property for this object.retainRule(CrossRegionCopyRetainRule retainRule) Sets the value of the RetainRule property for this object.The target Region.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields 
- 
Method Details
- 
target
The target Region.
- Parameters:
 target- The target Region.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
encryptionConfiguration
CrossRegionCopyAction.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) The encryption settings for the copied snapshot.
- Parameters:
 encryptionConfiguration- The encryption settings for the copied snapshot.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
encryptionConfiguration
default CrossRegionCopyAction.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) The encryption settings for the copied snapshot.
This is a convenience method that creates an instance of theEncryptionConfiguration.Builderavoiding the need to create one manually viaEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfiguration(EncryptionConfiguration).- Parameters:
 encryptionConfiguration- a consumer that will call methods onEncryptionConfiguration.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
retainRule
Sets the value of the RetainRule property for this object.- Parameters:
 retainRule- The new value for the RetainRule property for this object.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
retainRule
default CrossRegionCopyAction.Builder retainRule(Consumer<CrossRegionCopyRetainRule.Builder> retainRule) Sets the value of the RetainRule property for this object. This is a convenience method that creates an instance of theCrossRegionCopyRetainRule.Builderavoiding the need to create one manually viaCrossRegionCopyRetainRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toretainRule(CrossRegionCopyRetainRule).- Parameters:
 retainRule- a consumer that will call methods onCrossRegionCopyRetainRule.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -