Class CfnProfileAssociationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.route53profiles.mixins.CfnProfileAssociationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProfileAssociationMixinProps>
- Enclosing interface:
CfnProfileAssociationMixinProps
@Stability(Stable)
public static final class CfnProfileAssociationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProfileAssociationMixinProps>
A builder for
CfnProfileAssociationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnProfileAssociationMixinProps.getArn()build()Builds the configured instance.Sets the value ofCfnProfileAssociationMixinProps.getName()Sets the value ofCfnProfileAssociationMixinProps.getProfileId()resourceId(String resourceId) Sets the value ofCfnProfileAssociationMixinProps.getResourceId()Sets the value ofCfnProfileAssociationMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofCfnProfileAssociationMixinProps.getArn()- Parameters:
arn- The Amazon Resource Name (ARN) of the profile association to a VPC.- Returns:
this
-
name
Sets the value ofCfnProfileAssociationMixinProps.getName()- Parameters:
name- Name of the Profile association.- Returns:
this
-
profileId
Sets the value ofCfnProfileAssociationMixinProps.getProfileId()- Parameters:
profileId- ID of the Profile. Update to this property requires update to theResourceIdproperty as well, because you can only associate one Profile per VPC. For more information, see Route 53 Profiles .- Returns:
this
-
resourceId
Sets the value ofCfnProfileAssociationMixinProps.getResourceId()- Parameters:
resourceId- The ID of the VPC.- Returns:
this
-
tags
Sets the value ofCfnProfileAssociationMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProfileAssociationMixinProps>- Returns:
- a new instance of
CfnProfileAssociationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-