Class NamespaceProps.Builder
java.lang.Object
software.amazon.awscdk.services.s3tables.alpha.NamespaceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<NamespaceProps>
- Enclosing interface:
NamespaceProps
@Stability(Experimental)
public static final class NamespaceProps.Builder
extends Object
implements software.amazon.jsii.Builder<NamespaceProps>
A builder for
NamespaceProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.namespaceName
(String namespaceName) Sets the value ofNamespaceProps.getNamespaceName()
removalPolicy
(RemovalPolicy removalPolicy) Sets the value ofNamespaceProps.getRemovalPolicy()
tableBucket
(ITableBucket tableBucket) Sets the value ofNamespaceProps.getTableBucket()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
namespaceName
Sets the value ofNamespaceProps.getNamespaceName()
- Parameters:
namespaceName
- A name for the namespace. This parameter is required.- Returns:
this
-
tableBucket
Sets the value ofNamespaceProps.getTableBucket()
- Parameters:
tableBucket
- The table bucket this namespace belongs to. This parameter is required.- Returns:
this
-
removalPolicy
Sets the value ofNamespaceProps.getRemovalPolicy()
- Parameters:
removalPolicy
- Policy to apply when the policy is removed from this stack.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<NamespaceProps>
- Returns:
- a new instance of
NamespaceProps
- Throws:
NullPointerException
- if any required attribute was not provided
-