Class CfnResourceConfigurationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.vpclattice.CfnResourceConfigurationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceConfigurationMixinProps>
- Enclosing interface:
CfnResourceConfigurationMixinProps
@Stability(Stable)
public static final class CfnResourceConfigurationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceConfigurationMixinProps>
A builder for
CfnResourceConfigurationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowAssociationToSharableServiceNetwork(Boolean allowAssociationToSharableServiceNetwork) allowAssociationToSharableServiceNetwork(IResolvable allowAssociationToSharableServiceNetwork) build()Builds the configured instance.customDomainName(String customDomainName) Sets the value ofCfnResourceConfigurationMixinProps.getCustomDomainName()domainVerificationId(String domainVerificationId) Sets the value ofCfnResourceConfigurationMixinProps.getDomainVerificationId()groupDomain(String groupDomain) Sets the value ofCfnResourceConfigurationMixinProps.getGroupDomain()Sets the value ofCfnResourceConfigurationMixinProps.getName()portRanges(List<String> portRanges) Sets the value ofCfnResourceConfigurationMixinProps.getPortRanges()protocolType(String protocolType) Sets the value ofCfnResourceConfigurationMixinProps.getProtocolType()resourceConfigurationAuthType(String resourceConfigurationAuthType) Sets the value ofCfnResourceConfigurationMixinProps.getResourceConfigurationAuthType()resourceConfigurationDefinition(CfnResourceConfigurationPropsMixin.ResourceConfigurationDefinitionProperty resourceConfigurationDefinition) Sets the value ofCfnResourceConfigurationMixinProps.getResourceConfigurationDefinition()resourceConfigurationDefinition(IResolvable resourceConfigurationDefinition) Sets the value ofCfnResourceConfigurationMixinProps.getResourceConfigurationDefinition()resourceConfigurationGroupId(String resourceConfigurationGroupId) Sets the value ofCfnResourceConfigurationMixinProps.getResourceConfigurationGroupId()resourceConfigurationType(String resourceConfigurationType) Sets the value ofCfnResourceConfigurationMixinProps.getResourceConfigurationType()resourceGatewayId(String resourceGatewayId) Sets the value ofCfnResourceConfigurationMixinProps.getResourceGatewayId()Sets the value ofCfnResourceConfigurationMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowAssociationToSharableServiceNetwork
@Stability(Stable) public CfnResourceConfigurationMixinProps.Builder allowAssociationToSharableServiceNetwork(Boolean allowAssociationToSharableServiceNetwork) - Parameters:
allowAssociationToSharableServiceNetwork- Specifies whether the resource configuration can be associated with a sharable service network.- Returns:
this
-
allowAssociationToSharableServiceNetwork
@Stability(Stable) public CfnResourceConfigurationMixinProps.Builder allowAssociationToSharableServiceNetwork(IResolvable allowAssociationToSharableServiceNetwork) - Parameters:
allowAssociationToSharableServiceNetwork- Specifies whether the resource configuration can be associated with a sharable service network.- Returns:
this
-
customDomainName
@Stability(Stable) public CfnResourceConfigurationMixinProps.Builder customDomainName(String customDomainName) Sets the value ofCfnResourceConfigurationMixinProps.getCustomDomainName()- Parameters:
customDomainName- The custom domain name.- Returns:
this
-
domainVerificationId
@Stability(Stable) public CfnResourceConfigurationMixinProps.Builder domainVerificationId(String domainVerificationId) Sets the value ofCfnResourceConfigurationMixinProps.getDomainVerificationId()- Parameters:
domainVerificationId- The domain verification ID.- Returns:
this
-
groupDomain
@Stability(Stable) public CfnResourceConfigurationMixinProps.Builder groupDomain(String groupDomain) Sets the value ofCfnResourceConfigurationMixinProps.getGroupDomain()- Parameters:
groupDomain- (GROUP) The group domain for a group resource configuration. Any domains that you create for the child resource are subdomains of the group domain. Child resources inherit the verification status of the domain.- Returns:
this
-
name
Sets the value ofCfnResourceConfigurationMixinProps.getName()- Parameters:
name- The name of the resource configuration.- Returns:
this
-
portRanges
@Stability(Stable) public CfnResourceConfigurationMixinProps.Builder portRanges(List<String> portRanges) Sets the value ofCfnResourceConfigurationMixinProps.getPortRanges()- Parameters:
portRanges- (SINGLE, GROUP, CHILD) The TCP port ranges that a consumer can use to access a resource configuration (for example: 1-65535). You can separate port ranges using commas (for example: 1,2,22-30).- Returns:
this
-
protocolType
@Stability(Stable) public CfnResourceConfigurationMixinProps.Builder protocolType(String protocolType) Sets the value ofCfnResourceConfigurationMixinProps.getProtocolType()- Parameters:
protocolType- (SINGLE, GROUP) The protocol accepted by the resource configuration.- Returns:
this
-
resourceConfigurationAuthType
@Stability(Stable) public CfnResourceConfigurationMixinProps.Builder resourceConfigurationAuthType(String resourceConfigurationAuthType) Sets the value ofCfnResourceConfigurationMixinProps.getResourceConfigurationAuthType()- Parameters:
resourceConfigurationAuthType- The auth type for the resource configuration.- Returns:
this
-
resourceConfigurationDefinition
@Stability(Stable) public CfnResourceConfigurationMixinProps.Builder resourceConfigurationDefinition(IResolvable resourceConfigurationDefinition) Sets the value ofCfnResourceConfigurationMixinProps.getResourceConfigurationDefinition()- Parameters:
resourceConfigurationDefinition- Identifies the resource configuration in one of the following ways:.- Amazon Resource Name (ARN) - Supported resource-types that are provisioned by AWS services, such as RDS databases, can be identified by their ARN.
- Domain name - Any domain name that is publicly resolvable.
- IP address - For IPv4 and IPv6, only IP addresses in the VPC are supported.
- Returns:
this
-
resourceConfigurationDefinition
@Stability(Stable) public CfnResourceConfigurationMixinProps.Builder resourceConfigurationDefinition(CfnResourceConfigurationPropsMixin.ResourceConfigurationDefinitionProperty resourceConfigurationDefinition) Sets the value ofCfnResourceConfigurationMixinProps.getResourceConfigurationDefinition()- Parameters:
resourceConfigurationDefinition- Identifies the resource configuration in one of the following ways:.- Amazon Resource Name (ARN) - Supported resource-types that are provisioned by AWS services, such as RDS databases, can be identified by their ARN.
- Domain name - Any domain name that is publicly resolvable.
- IP address - For IPv4 and IPv6, only IP addresses in the VPC are supported.
- Returns:
this
-
resourceConfigurationGroupId
@Stability(Stable) public CfnResourceConfigurationMixinProps.Builder resourceConfigurationGroupId(String resourceConfigurationGroupId) Sets the value ofCfnResourceConfigurationMixinProps.getResourceConfigurationGroupId()- Parameters:
resourceConfigurationGroupId- The ID of the group resource configuration.- Returns:
this
-
resourceConfigurationType
@Stability(Stable) public CfnResourceConfigurationMixinProps.Builder resourceConfigurationType(String resourceConfigurationType) Sets the value ofCfnResourceConfigurationMixinProps.getResourceConfigurationType()- Parameters:
resourceConfigurationType- The type of resource configuration. A resource configuration can be one of the following types:.- SINGLE - A single resource.
- GROUP - A group of resources. You must create a group resource configuration before you create a child resource configuration.
- CHILD - A single resource that is part of a group resource configuration.
- ARN - An AWS resource.
- Returns:
this
-
resourceGatewayId
@Stability(Stable) public CfnResourceConfigurationMixinProps.Builder resourceGatewayId(String resourceGatewayId) Sets the value ofCfnResourceConfigurationMixinProps.getResourceGatewayId()- Parameters:
resourceGatewayId- The ID of the resource gateway.- Returns:
this
-
tags
@Stability(Stable) public CfnResourceConfigurationMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnResourceConfigurationMixinProps.getTags()- Parameters:
tags- The tags for the resource configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceConfigurationMixinProps>- Returns:
- a new instance of
CfnResourceConfigurationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-