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