Class CfnPolicy.DataRecoveryTargetsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.resiliencehubv2.CfnPolicy.DataRecoveryTargetsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicy.DataRecoveryTargetsProperty>
- Enclosing interface:
CfnPolicy.DataRecoveryTargetsProperty
@Stability(Stable)
public static final class CfnPolicy.DataRecoveryTargetsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPolicy.DataRecoveryTargetsProperty>
A builder for
CfnPolicy.DataRecoveryTargetsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.timeBetweenBackupsInMinutes(Number timeBetweenBackupsInMinutes) Sets the value ofCfnPolicy.DataRecoveryTargetsProperty.getTimeBetweenBackupsInMinutes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
timeBetweenBackupsInMinutes
@Stability(Stable) public CfnPolicy.DataRecoveryTargetsProperty.Builder timeBetweenBackupsInMinutes(Number timeBetweenBackupsInMinutes) Sets the value ofCfnPolicy.DataRecoveryTargetsProperty.getTimeBetweenBackupsInMinutes()- Parameters:
timeBetweenBackupsInMinutes- Time between backups in minutes.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPolicy.DataRecoveryTargetsProperty>- Returns:
- a new instance of
CfnPolicy.DataRecoveryTargetsProperty - Throws:
NullPointerException- if any required attribute was not provided
-