Class CfnHttpNamespaceProps.Builder
java.lang.Object
software.amazon.awscdk.services.servicediscovery.CfnHttpNamespaceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHttpNamespaceProps>
- Enclosing interface:
- CfnHttpNamespaceProps
@Stability(Stable)
public static final class CfnHttpNamespaceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHttpNamespaceProps>
A builder for
CfnHttpNamespaceProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnHttpNamespaceProps.getDescription()Sets the value ofCfnHttpNamespaceProps.getName()Sets the value ofCfnHttpNamespaceProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnHttpNamespaceProps.getName()- Parameters:
name- The name that you want to assign to this namespace. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnHttpNamespaceProps.getDescription()- Parameters:
description- A description for the namespace.- Returns:
this
-
tags
Sets the value ofCfnHttpNamespaceProps.getTags()- Parameters:
tags- The tags for the namespace. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHttpNamespaceProps>- Returns:
- a new instance of
CfnHttpNamespaceProps - Throws:
NullPointerException- if any required attribute was not provided
-