Class RecoveryGroupReference.Builder
java.lang.Object
software.amazon.awscdk.services.route53recoveryreadiness.RecoveryGroupReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RecoveryGroupReference>
- Enclosing interface:
RecoveryGroupReference
@Stability(Stable)
public static final class RecoveryGroupReference.Builder
extends Object
implements software.amazon.jsii.Builder<RecoveryGroupReference>
A builder for
RecoveryGroupReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.recoveryGroupArn
(String recoveryGroupArn) Sets the value ofRecoveryGroupReference.getRecoveryGroupArn()
recoveryGroupName
(String recoveryGroupName) Sets the value ofRecoveryGroupReference.getRecoveryGroupName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
recoveryGroupArn
Sets the value ofRecoveryGroupReference.getRecoveryGroupArn()
- Parameters:
recoveryGroupArn
- The ARN of the RecoveryGroup resource. This parameter is required.- Returns:
this
-
recoveryGroupName
@Stability(Stable) public RecoveryGroupReference.Builder recoveryGroupName(String recoveryGroupName) Sets the value ofRecoveryGroupReference.getRecoveryGroupName()
- Parameters:
recoveryGroupName
- The RecoveryGroupName of the RecoveryGroup resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<RecoveryGroupReference>
- Returns:
- a new instance of
RecoveryGroupReference
- Throws:
NullPointerException
- if any required attribute was not provided
-