Class CfnHostedZoneAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.route53globalresolver.CfnHostedZoneAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHostedZoneAssociationProps>
- Enclosing interface:
CfnHostedZoneAssociationProps
@Stability(Stable)
public static final class CfnHostedZoneAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHostedZoneAssociationProps>
A builder for
CfnHostedZoneAssociationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.hostedZoneId(String hostedZoneId) Sets the value ofCfnHostedZoneAssociationProps.getHostedZoneId()Sets the value ofCfnHostedZoneAssociationProps.getName()resourceArn(String resourceArn) Sets the value ofCfnHostedZoneAssociationProps.getResourceArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hostedZoneId
Sets the value ofCfnHostedZoneAssociationProps.getHostedZoneId()- Parameters:
hostedZoneId- the value to be set. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnHostedZoneAssociationProps.getName()- Parameters:
name- the value to be set. This parameter is required.- Returns:
this
-
resourceArn
Sets the value ofCfnHostedZoneAssociationProps.getResourceArn()- Parameters:
resourceArn- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHostedZoneAssociationProps>- Returns:
- a new instance of
CfnHostedZoneAssociationProps - Throws:
NullPointerException- if any required attribute was not provided
-