Class CfnProfileResourceAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.route53profiles.CfnProfileResourceAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProfileResourceAssociationProps>
- Enclosing interface:
CfnProfileResourceAssociationProps
@Stability(Stable)
public static final class CfnProfileResourceAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProfileResourceAssociationProps>
A builder for
CfnProfileResourceAssociationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnProfileResourceAssociationProps.getName()Sets the value ofCfnProfileResourceAssociationProps.getProfileId()resourceArn(String resourceArn) Sets the value ofCfnProfileResourceAssociationProps.getResourceArn()resourceProperties(String resourceProperties) Sets the value ofCfnProfileResourceAssociationProps.getResourceProperties()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnProfileResourceAssociationProps.getName()- Parameters:
name- Name of the Profile resource association. This parameter is required.- Returns:
this
-
profileId
Sets the value ofCfnProfileResourceAssociationProps.getProfileId()- Parameters:
profileId- Profile ID of the Profile that the resources are associated with. This parameter is required.- Returns:
this
-
resourceArn
@Stability(Stable) public CfnProfileResourceAssociationProps.Builder resourceArn(String resourceArn) Sets the value ofCfnProfileResourceAssociationProps.getResourceArn()- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the resource association. This parameter is required.- Returns:
this
-
resourceProperties
@Stability(Stable) public CfnProfileResourceAssociationProps.Builder resourceProperties(String resourceProperties) Sets the value ofCfnProfileResourceAssociationProps.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<CfnProfileResourceAssociationProps>- Returns:
- a new instance of
CfnProfileResourceAssociationProps - Throws:
NullPointerException- if any required attribute was not provided
-