Class CfnClusterPropsMixin.BackupRetentionPolicyProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudhsm.CfnClusterPropsMixin.BackupRetentionPolicyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.BackupRetentionPolicyProperty>
- Enclosing interface:
CfnClusterPropsMixin.BackupRetentionPolicyProperty
@Stability(Stable)
public static final class CfnClusterPropsMixin.BackupRetentionPolicyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin.BackupRetentionPolicyProperty>
A builder for
CfnClusterPropsMixin.BackupRetentionPolicyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnClusterPropsMixin.BackupRetentionPolicyProperty.getType()Sets the value ofCfnClusterPropsMixin.BackupRetentionPolicyProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
@Stability(Stable) public CfnClusterPropsMixin.BackupRetentionPolicyProperty.Builder type(String type) Sets the value ofCfnClusterPropsMixin.BackupRetentionPolicyProperty.getType()- Parameters:
type- The type of backup retention policy.- Returns:
this
-
value
@Stability(Stable) public CfnClusterPropsMixin.BackupRetentionPolicyProperty.Builder value(String value) Sets the value ofCfnClusterPropsMixin.BackupRetentionPolicyProperty.getValue()- Parameters:
value- Use a value between 7 - 379.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin.BackupRetentionPolicyProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.BackupRetentionPolicyProperty - Throws:
NullPointerException- if any required attribute was not provided
-