Class CfnNamespaceMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.scn.CfnNamespaceMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNamespaceMixinProps>
- Enclosing interface:
CfnNamespaceMixinProps
@Stability(Stable)
public static final class CfnNamespaceMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNamespaceMixinProps>
A builder for
CfnNamespaceMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnNamespaceMixinProps.getDescription()instanceId(String instanceId) Sets the value ofCfnNamespaceMixinProps.getInstanceId()Sets the value ofCfnNamespaceMixinProps.getName()Sets the value ofCfnNamespaceMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnNamespaceMixinProps.getDescription()- Parameters:
description- The description of the namespace.- Returns:
this
-
instanceId
Sets the value ofCfnNamespaceMixinProps.getInstanceId()- Parameters:
instanceId- The Amazon Web Services Supply Chain instance identifier.- Returns:
this
-
name
Sets the value ofCfnNamespaceMixinProps.getName()- Parameters:
name- The name of the namespace.- Returns:
this
-
tags
Sets the value ofCfnNamespaceMixinProps.getTags()- Parameters:
tags- The tags for the namespace.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNamespaceMixinProps>- Returns:
- a new instance of
CfnNamespaceMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-