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