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