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