Class CfnServiceNetworkResourceAssociationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.vpclattice.mixins.CfnServiceNetworkResourceAssociationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServiceNetworkResourceAssociationMixinProps>
- Enclosing interface:
CfnServiceNetworkResourceAssociationMixinProps
@Stability(Stable)
public static final class CfnServiceNetworkResourceAssociationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServiceNetworkResourceAssociationMixinProps>
A builder for
CfnServiceNetworkResourceAssociationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.privateDnsEnabled(Boolean privateDnsEnabled) Sets the value ofCfnServiceNetworkResourceAssociationMixinProps.getPrivateDnsEnabled()privateDnsEnabled(IResolvable privateDnsEnabled) Sets the value ofCfnServiceNetworkResourceAssociationMixinProps.getPrivateDnsEnabled()resourceConfigurationId(String resourceConfigurationId) serviceNetworkId(String serviceNetworkId) Sets the value ofCfnServiceNetworkResourceAssociationMixinProps.getServiceNetworkId()Sets the value ofCfnServiceNetworkResourceAssociationMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
privateDnsEnabled
@Stability(Stable) public CfnServiceNetworkResourceAssociationMixinProps.Builder privateDnsEnabled(Boolean privateDnsEnabled) Sets the value ofCfnServiceNetworkResourceAssociationMixinProps.getPrivateDnsEnabled()- Parameters:
privateDnsEnabled- Indicates if private DNS is enabled for the service network resource association.- Returns:
this
-
privateDnsEnabled
@Stability(Stable) public CfnServiceNetworkResourceAssociationMixinProps.Builder privateDnsEnabled(IResolvable privateDnsEnabled) Sets the value ofCfnServiceNetworkResourceAssociationMixinProps.getPrivateDnsEnabled()- Parameters:
privateDnsEnabled- Indicates if private DNS is enabled for the service network resource association.- Returns:
this
-
resourceConfigurationId
@Stability(Stable) public CfnServiceNetworkResourceAssociationMixinProps.Builder resourceConfigurationId(String resourceConfigurationId) - Parameters:
resourceConfigurationId- The ID of the resource configuration associated with the service network.- Returns:
this
-
serviceNetworkId
@Stability(Stable) public CfnServiceNetworkResourceAssociationMixinProps.Builder serviceNetworkId(String serviceNetworkId) Sets the value ofCfnServiceNetworkResourceAssociationMixinProps.getServiceNetworkId()- Parameters:
serviceNetworkId- The ID of the service network associated with the resource configuration.- Returns:
this
-
tags
@Stability(Stable) public CfnServiceNetworkResourceAssociationMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnServiceNetworkResourceAssociationMixinProps.getTags()- Parameters:
tags- A key-value pair to associate with a resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServiceNetworkResourceAssociationMixinProps>- Returns:
- a new instance of
CfnServiceNetworkResourceAssociationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-