Class CfnHostedZone.HostedZoneFeaturesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.route53.CfnHostedZone.HostedZoneFeaturesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHostedZone.HostedZoneFeaturesProperty>
- Enclosing interface:
CfnHostedZone.HostedZoneFeaturesProperty
@Stability(Stable)
public static final class CfnHostedZone.HostedZoneFeaturesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHostedZone.HostedZoneFeaturesProperty>
A builder for
CfnHostedZone.HostedZoneFeaturesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enableAcceleratedRecovery(Boolean enableAcceleratedRecovery) Sets the value ofCfnHostedZone.HostedZoneFeaturesProperty.getEnableAcceleratedRecovery()enableAcceleratedRecovery(IResolvable enableAcceleratedRecovery) Sets the value ofCfnHostedZone.HostedZoneFeaturesProperty.getEnableAcceleratedRecovery()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enableAcceleratedRecovery
@Stability(Stable) public CfnHostedZone.HostedZoneFeaturesProperty.Builder enableAcceleratedRecovery(Boolean enableAcceleratedRecovery) Sets the value ofCfnHostedZone.HostedZoneFeaturesProperty.getEnableAcceleratedRecovery()- Parameters:
enableAcceleratedRecovery- Enable accelerated recovery on your public hosted zone to gain the ability to make changes to DNS records in the event of us-east-1 unavailability.- Returns:
this
-
enableAcceleratedRecovery
@Stability(Stable) public CfnHostedZone.HostedZoneFeaturesProperty.Builder enableAcceleratedRecovery(IResolvable enableAcceleratedRecovery) Sets the value ofCfnHostedZone.HostedZoneFeaturesProperty.getEnableAcceleratedRecovery()- Parameters:
enableAcceleratedRecovery- Enable accelerated recovery on your public hosted zone to gain the ability to make changes to DNS records in the event of us-east-1 unavailability.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHostedZone.HostedZoneFeaturesProperty>- Returns:
- a new instance of
CfnHostedZone.HostedZoneFeaturesProperty - Throws:
NullPointerException- if any required attribute was not provided
-