Class CfnServicePropsMixin.DisasterRecoverySourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.resiliencehubv2.CfnServicePropsMixin.DisasterRecoverySourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin.DisasterRecoverySourceProperty>
- Enclosing interface:
CfnServicePropsMixin.DisasterRecoverySourceProperty
@Stability(Stable)
public static final class CfnServicePropsMixin.DisasterRecoverySourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServicePropsMixin.DisasterRecoverySourceProperty>
A builder for
CfnServicePropsMixin.DisasterRecoverySourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.policyName(String policyName) Sets the value ofCfnServicePropsMixin.DisasterRecoverySourceProperty.getPolicyName()Sets the value ofCfnServicePropsMixin.DisasterRecoverySourceProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
policyName
@Stability(Stable) public CfnServicePropsMixin.DisasterRecoverySourceProperty.Builder policyName(String policyName) Sets the value ofCfnServicePropsMixin.DisasterRecoverySourceProperty.getPolicyName()- Parameters:
policyName- the value to be set.- Returns:
this
-
value
@Stability(Stable) public CfnServicePropsMixin.DisasterRecoverySourceProperty.Builder value(String value) Sets the value ofCfnServicePropsMixin.DisasterRecoverySourceProperty.getValue()- Parameters:
value- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePropsMixin.DisasterRecoverySourceProperty>- Returns:
- a new instance of
CfnServicePropsMixin.DisasterRecoverySourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-