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