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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CrossRegionCopyAction.BuilderencryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)The encryption settings for the copied snapshot.CrossRegionCopyAction.BuilderencryptionConfiguration(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.CrossRegionCopyAction.BuilderretainRule(CrossRegionCopyRetainRule retainRule)Sets the value of the RetainRule property for this object.CrossRegionCopyAction.Buildertarget(String target)The target Region.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
target
CrossRegionCopyAction.Builder target(String 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:
encryptionConfiguration(EncryptionConfiguration)
-
retainRule
CrossRegionCopyAction.Builder retainRule(CrossRegionCopyRetainRule 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:
retainRule(CrossRegionCopyRetainRule)
-
-