Class CfnService.EffectivePolicyValuesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.resiliencehubv2.CfnService.EffectivePolicyValuesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnService.EffectivePolicyValuesProperty>
- Enclosing interface:
CfnService.EffectivePolicyValuesProperty
@Stability(Stable)
public static final class CfnService.EffectivePolicyValuesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnService.EffectivePolicyValuesProperty>
A builder for
CfnService.EffectivePolicyValuesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailabilitySlo(IResolvable availabilitySlo) Sets the value ofCfnService.EffectivePolicyValuesProperty.getAvailabilitySlo()availabilitySlo(CfnService.SloSourceProperty availabilitySlo) Sets the value ofCfnService.EffectivePolicyValuesProperty.getAvailabilitySlo()build()Builds the configured instance.multiAzDrApproach(IResolvable multiAzDrApproach) Sets the value ofCfnService.EffectivePolicyValuesProperty.getMultiAzDrApproach()multiAzDrApproach(CfnService.DisasterRecoverySourceProperty multiAzDrApproach) Sets the value ofCfnService.EffectivePolicyValuesProperty.getMultiAzDrApproach()multiAzRpo(IResolvable multiAzRpo) Sets the value ofCfnService.EffectivePolicyValuesProperty.getMultiAzRpo()multiAzRpo(CfnService.TargetSourceProperty multiAzRpo) Sets the value ofCfnService.EffectivePolicyValuesProperty.getMultiAzRpo()multiAzRto(IResolvable multiAzRto) Sets the value ofCfnService.EffectivePolicyValuesProperty.getMultiAzRto()multiAzRto(CfnService.TargetSourceProperty multiAzRto) Sets the value ofCfnService.EffectivePolicyValuesProperty.getMultiAzRto()multiRegionDrApproach(IResolvable multiRegionDrApproach) Sets the value ofCfnService.EffectivePolicyValuesProperty.getMultiRegionDrApproach()multiRegionDrApproach(CfnService.DisasterRecoverySourceProperty multiRegionDrApproach) Sets the value ofCfnService.EffectivePolicyValuesProperty.getMultiRegionDrApproach()multiRegionRpo(IResolvable multiRegionRpo) Sets the value ofCfnService.EffectivePolicyValuesProperty.getMultiRegionRpo()multiRegionRpo(CfnService.TargetSourceProperty multiRegionRpo) Sets the value ofCfnService.EffectivePolicyValuesProperty.getMultiRegionRpo()multiRegionRto(IResolvable multiRegionRto) Sets the value ofCfnService.EffectivePolicyValuesProperty.getMultiRegionRto()multiRegionRto(CfnService.TargetSourceProperty multiRegionRto) Sets the value ofCfnService.EffectivePolicyValuesProperty.getMultiRegionRto()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
availabilitySlo
@Stability(Stable) public CfnService.EffectivePolicyValuesProperty.Builder availabilitySlo(IResolvable availabilitySlo) Sets the value ofCfnService.EffectivePolicyValuesProperty.getAvailabilitySlo()- Parameters:
availabilitySlo- the value to be set.- Returns:
this
-
availabilitySlo
@Stability(Stable) public CfnService.EffectivePolicyValuesProperty.Builder availabilitySlo(CfnService.SloSourceProperty availabilitySlo) Sets the value ofCfnService.EffectivePolicyValuesProperty.getAvailabilitySlo()- Parameters:
availabilitySlo- the value to be set.- Returns:
this
-
multiAzDrApproach
@Stability(Stable) public CfnService.EffectivePolicyValuesProperty.Builder multiAzDrApproach(IResolvable multiAzDrApproach) Sets the value ofCfnService.EffectivePolicyValuesProperty.getMultiAzDrApproach()- Parameters:
multiAzDrApproach- the value to be set.- Returns:
this
-
multiAzDrApproach
@Stability(Stable) public CfnService.EffectivePolicyValuesProperty.Builder multiAzDrApproach(CfnService.DisasterRecoverySourceProperty multiAzDrApproach) Sets the value ofCfnService.EffectivePolicyValuesProperty.getMultiAzDrApproach()- Parameters:
multiAzDrApproach- the value to be set.- Returns:
this
-
multiAzRpo
@Stability(Stable) public CfnService.EffectivePolicyValuesProperty.Builder multiAzRpo(IResolvable multiAzRpo) Sets the value ofCfnService.EffectivePolicyValuesProperty.getMultiAzRpo()- Parameters:
multiAzRpo- the value to be set.- Returns:
this
-
multiAzRpo
@Stability(Stable) public CfnService.EffectivePolicyValuesProperty.Builder multiAzRpo(CfnService.TargetSourceProperty multiAzRpo) Sets the value ofCfnService.EffectivePolicyValuesProperty.getMultiAzRpo()- Parameters:
multiAzRpo- the value to be set.- Returns:
this
-
multiAzRto
@Stability(Stable) public CfnService.EffectivePolicyValuesProperty.Builder multiAzRto(IResolvable multiAzRto) Sets the value ofCfnService.EffectivePolicyValuesProperty.getMultiAzRto()- Parameters:
multiAzRto- the value to be set.- Returns:
this
-
multiAzRto
@Stability(Stable) public CfnService.EffectivePolicyValuesProperty.Builder multiAzRto(CfnService.TargetSourceProperty multiAzRto) Sets the value ofCfnService.EffectivePolicyValuesProperty.getMultiAzRto()- Parameters:
multiAzRto- the value to be set.- Returns:
this
-
multiRegionDrApproach
@Stability(Stable) public CfnService.EffectivePolicyValuesProperty.Builder multiRegionDrApproach(IResolvable multiRegionDrApproach) Sets the value ofCfnService.EffectivePolicyValuesProperty.getMultiRegionDrApproach()- Parameters:
multiRegionDrApproach- the value to be set.- Returns:
this
-
multiRegionDrApproach
@Stability(Stable) public CfnService.EffectivePolicyValuesProperty.Builder multiRegionDrApproach(CfnService.DisasterRecoverySourceProperty multiRegionDrApproach) Sets the value ofCfnService.EffectivePolicyValuesProperty.getMultiRegionDrApproach()- Parameters:
multiRegionDrApproach- the value to be set.- Returns:
this
-
multiRegionRpo
@Stability(Stable) public CfnService.EffectivePolicyValuesProperty.Builder multiRegionRpo(IResolvable multiRegionRpo) Sets the value ofCfnService.EffectivePolicyValuesProperty.getMultiRegionRpo()- Parameters:
multiRegionRpo- the value to be set.- Returns:
this
-
multiRegionRpo
@Stability(Stable) public CfnService.EffectivePolicyValuesProperty.Builder multiRegionRpo(CfnService.TargetSourceProperty multiRegionRpo) Sets the value ofCfnService.EffectivePolicyValuesProperty.getMultiRegionRpo()- Parameters:
multiRegionRpo- the value to be set.- Returns:
this
-
multiRegionRto
@Stability(Stable) public CfnService.EffectivePolicyValuesProperty.Builder multiRegionRto(IResolvable multiRegionRto) Sets the value ofCfnService.EffectivePolicyValuesProperty.getMultiRegionRto()- Parameters:
multiRegionRto- the value to be set.- Returns:
this
-
multiRegionRto
@Stability(Stable) public CfnService.EffectivePolicyValuesProperty.Builder multiRegionRto(CfnService.TargetSourceProperty multiRegionRto) Sets the value ofCfnService.EffectivePolicyValuesProperty.getMultiRegionRto()- Parameters:
multiRegionRto- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnService.EffectivePolicyValuesProperty>- Returns:
- a new instance of
CfnService.EffectivePolicyValuesProperty - Throws:
NullPointerException- if any required attribute was not provided
-