Class CfnLifecyclePolicyPropsMixin.ActionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.dlm.CfnLifecyclePolicyPropsMixin.ActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLifecyclePolicyPropsMixin.ActionProperty>
- Enclosing interface:
CfnLifecyclePolicyPropsMixin.ActionProperty
@Stability(Stable)
public static final class CfnLifecyclePolicyPropsMixin.ActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLifecyclePolicyPropsMixin.ActionProperty>
A builder for
CfnLifecyclePolicyPropsMixin.ActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.crossRegionCopy(List<? extends Object> crossRegionCopy) Sets the value ofCfnLifecyclePolicyPropsMixin.ActionProperty.getCrossRegionCopy()crossRegionCopy(IResolvable crossRegionCopy) Sets the value ofCfnLifecyclePolicyPropsMixin.ActionProperty.getCrossRegionCopy()Sets the value ofCfnLifecyclePolicyPropsMixin.ActionProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
crossRegionCopy
@Stability(Stable) public CfnLifecyclePolicyPropsMixin.ActionProperty.Builder crossRegionCopy(IResolvable crossRegionCopy) Sets the value ofCfnLifecyclePolicyPropsMixin.ActionProperty.getCrossRegionCopy()- Parameters:
crossRegionCopy- The rule for copying shared snapshots across Regions.- Returns:
this
-
crossRegionCopy
@Stability(Stable) public CfnLifecyclePolicyPropsMixin.ActionProperty.Builder crossRegionCopy(List<? extends Object> crossRegionCopy) Sets the value ofCfnLifecyclePolicyPropsMixin.ActionProperty.getCrossRegionCopy()- Parameters:
crossRegionCopy- The rule for copying shared snapshots across Regions.- Returns:
this
-
name
Sets the value ofCfnLifecyclePolicyPropsMixin.ActionProperty.getName()- Parameters:
name- A descriptive name for the action.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLifecyclePolicyPropsMixin.ActionProperty>- Returns:
- a new instance of
CfnLifecyclePolicyPropsMixin.ActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-