Class CfnProfileResourceAssociationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.route53profiles.CfnProfileResourceAssociationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProfileResourceAssociationMixinProps>
- Enclosing interface:
CfnProfileResourceAssociationMixinProps
@Stability(Stable)
public static final class CfnProfileResourceAssociationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProfileResourceAssociationMixinProps>
A builder for
CfnProfileResourceAssociationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnProfileResourceAssociationMixinProps.getName()Sets the value ofCfnProfileResourceAssociationMixinProps.getProfileId()resourceArn(String resourceArn) Sets the value ofCfnProfileResourceAssociationMixinProps.getResourceArn()resourceProperties(String resourceProperties) Sets the value ofCfnProfileResourceAssociationMixinProps.getResourceProperties()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnProfileResourceAssociationMixinProps.getName()- Parameters:
name- Name of the Profile resource association.- Returns:
this
-
profileId
@Stability(Stable) public CfnProfileResourceAssociationMixinProps.Builder profileId(String profileId) Sets the value ofCfnProfileResourceAssociationMixinProps.getProfileId()- Parameters:
profileId- Profile ID of the Profile that the resources are associated with.- Returns:
this
-
resourceArn
@Stability(Stable) public CfnProfileResourceAssociationMixinProps.Builder resourceArn(String resourceArn) Sets the value ofCfnProfileResourceAssociationMixinProps.getResourceArn()- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the resource association.- Returns:
this
-
resourceProperties
@Stability(Stable) public CfnProfileResourceAssociationMixinProps.Builder resourceProperties(String resourceProperties) Sets the value ofCfnProfileResourceAssociationMixinProps.getResourceProperties()- Parameters:
resourceProperties- If the DNS resource is a DNS Firewall rule group, this indicates the priority.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProfileResourceAssociationMixinProps>- Returns:
- a new instance of
CfnProfileResourceAssociationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-