Class CfnProfileAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.route53profiles.CfnProfileAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProfileAssociationProps>
- Enclosing interface:
CfnProfileAssociationProps
@Stability(Stable)
public static final class CfnProfileAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProfileAssociationProps>
A builder for
CfnProfileAssociationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnProfileAssociationProps.getArn()build()Builds the configured instance.Sets the value ofCfnProfileAssociationProps.getName()Sets the value ofCfnProfileAssociationProps.getProfileId()resourceId(String resourceId) Sets the value ofCfnProfileAssociationProps.getResourceId()Sets the value ofCfnProfileAssociationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnProfileAssociationProps.getName()- Parameters:
name- Name of the Profile association. This parameter is required.- Returns:
this
-
profileId
Sets the value ofCfnProfileAssociationProps.getProfileId()- Parameters:
profileId- ID of the Profile. This parameter is required.- Returns:
this
-
resourceId
Sets the value ofCfnProfileAssociationProps.getResourceId()- Parameters:
resourceId- The ID of the VPC. This parameter is required.- Returns:
this
-
arn
Sets the value ofCfnProfileAssociationProps.getArn()- Parameters:
arn- The Amazon Resource Name (ARN) of the profile association to a VPC.- Returns:
this
-
tags
Sets the value ofCfnProfileAssociationProps.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<CfnProfileAssociationProps>- Returns:
- a new instance of
CfnProfileAssociationProps - Throws:
NullPointerException- if any required attribute was not provided
-