Class CfnHttpNamespaceMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.servicediscovery.CfnHttpNamespaceMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHttpNamespaceMixinProps>
- Enclosing interface:
CfnHttpNamespaceMixinProps
@Stability(Stable)
public static final class CfnHttpNamespaceMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHttpNamespaceMixinProps>
A builder for
CfnHttpNamespaceMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnHttpNamespaceMixinProps.getDescription()Sets the value ofCfnHttpNamespaceMixinProps.getName()Sets the value ofCfnHttpNamespaceMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnHttpNamespaceMixinProps.getDescription()- Parameters:
description- A description for the namespace.- Returns:
this
-
name
Sets the value ofCfnHttpNamespaceMixinProps.getName()- Parameters:
name- The name that you want to assign to this namespace.- Returns:
this
-
tags
Sets the value ofCfnHttpNamespaceMixinProps.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<CfnHttpNamespaceMixinProps>- Returns:
- a new instance of
CfnHttpNamespaceMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-