Class CloudMapNamespaceOptionsBase.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.CloudMapNamespaceOptionsBase.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudMapNamespaceOptionsBase>
- Enclosing interface:
CloudMapNamespaceOptionsBase
@Stability(Stable)
public static final class CloudMapNamespaceOptionsBase.Builder
extends Object
implements software.amazon.jsii.Builder<CloudMapNamespaceOptionsBase>
A builder for
CloudMapNamespaceOptionsBase-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.useForServiceConnect(Boolean useForServiceConnect) Sets the value ofCloudMapNamespaceOptionsBase.getUseForServiceConnect()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
useForServiceConnect
@Stability(Stable) public CloudMapNamespaceOptionsBase.Builder useForServiceConnect(Boolean useForServiceConnect) Sets the value ofCloudMapNamespaceOptionsBase.getUseForServiceConnect()- Parameters:
useForServiceConnect- This property specifies whether to set the provided namespace as the service connect default in the cluster properties.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudMapNamespaceOptionsBase>- Returns:
- a new instance of
CloudMapNamespaceOptionsBase - Throws:
NullPointerException- if any required attribute was not provided
-