Class BaseNamespaceProps.Builder
java.lang.Object
software.amazon.awscdk.services.servicediscovery.BaseNamespaceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BaseNamespaceProps>
- Enclosing interface:
BaseNamespaceProps
@Stability(Stable)
public static final class BaseNamespaceProps.Builder
extends Object
implements software.amazon.jsii.Builder<BaseNamespaceProps>
A builder for
BaseNamespaceProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofBaseNamespaceProps.getDescription()
Sets the value ofBaseNamespaceProps.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofBaseNamespaceProps.getName()
- Parameters:
name
- A name for the Namespace. This parameter is required.- Returns:
this
-
description
Sets the value ofBaseNamespaceProps.getDescription()
- Parameters:
description
- A description of the Namespace.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<BaseNamespaceProps>
- Returns:
- a new instance of
BaseNamespaceProps
- Throws:
NullPointerException
- if any required attribute was not provided
-