Class CfnRecoveryGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.route53recoveryreadiness.CfnRecoveryGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRecoveryGroupProps>
- Enclosing interface:
CfnRecoveryGroupProps
@Stability(Stable)
public static final class CfnRecoveryGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRecoveryGroupProps>
A builder for
CfnRecoveryGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRecoveryGroupProps.getCells()recoveryGroupName(String recoveryGroupName) Sets the value ofCfnRecoveryGroupProps.getRecoveryGroupName()Sets the value ofCfnRecoveryGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cells
Sets the value ofCfnRecoveryGroupProps.getCells()- Parameters:
cells- A list of the cell Amazon Resource Names (ARNs) in the recovery group.- Returns:
this
-
recoveryGroupName
Sets the value ofCfnRecoveryGroupProps.getRecoveryGroupName()- Parameters:
recoveryGroupName- The name of the recovery group to create.- Returns:
this
-
tags
Sets the value ofCfnRecoveryGroupProps.getTags()- Parameters:
tags- A collection of tags associated with a resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRecoveryGroupProps>- Returns:
- a new instance of
CfnRecoveryGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-