Class CfnHostedZone.HostedZoneConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.route53.CfnHostedZone.HostedZoneConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHostedZone.HostedZoneConfigProperty>
- Enclosing interface:
CfnHostedZone.HostedZoneConfigProperty
@Stability(Stable)
public static final class CfnHostedZone.HostedZoneConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHostedZone.HostedZoneConfigProperty>
A builder for
CfnHostedZone.HostedZoneConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnHostedZone.HostedZoneConfigProperty.getComment()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
comment
Sets the value ofCfnHostedZone.HostedZoneConfigProperty.getComment()
- Parameters:
comment
- Any comments that you want to include about the hosted zone.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnHostedZone.HostedZoneConfigProperty>
- Returns:
- a new instance of
CfnHostedZone.HostedZoneConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-