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