Class CfnServiceNetworkPropsMixin.SharingConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.vpclattice.CfnServiceNetworkPropsMixin.SharingConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServiceNetworkPropsMixin.SharingConfigProperty>
- Enclosing interface:
CfnServiceNetworkPropsMixin.SharingConfigProperty
@Stability(Stable)
public static final class CfnServiceNetworkPropsMixin.SharingConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServiceNetworkPropsMixin.SharingConfigProperty>
A builder for
CfnServiceNetworkPropsMixin.SharingConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnServiceNetworkPropsMixin.SharingConfigProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnServiceNetworkPropsMixin.SharingConfigProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnServiceNetworkPropsMixin.SharingConfigProperty.Builder enabled(Boolean enabled) Sets the value ofCfnServiceNetworkPropsMixin.SharingConfigProperty.getEnabled()- Parameters:
enabled- Specify if the service network should be enabled for sharing.- Returns:
this
-
enabled
@Stability(Stable) public CfnServiceNetworkPropsMixin.SharingConfigProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnServiceNetworkPropsMixin.SharingConfigProperty.getEnabled()- Parameters:
enabled- Specify if the service network should be enabled for sharing.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServiceNetworkPropsMixin.SharingConfigProperty>- Returns:
- a new instance of
CfnServiceNetworkPropsMixin.SharingConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-