Class Namespace.Builder
java.lang.Object
software.amazon.awscdk.services.s3tables.alpha.Namespace.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Namespace>
- Enclosing class:
Namespace
@Stability(Experimental)
public static final class Namespace.Builder
extends Object
implements software.amazon.jsii.Builder<Namespace>
(experimental) A fluent builder for
Namespace
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static Namespace.Builder
namespaceName
(String namespaceName) (experimental) A name for the namespace.removalPolicy
(RemovalPolicy removalPolicy) (experimental) Policy to apply when the policy is removed from this stack.tableBucket
(ITableBucket tableBucket) (experimental) The table bucket this namespace belongs to.
-
Method Details
-
create
@Stability(Experimental) public static Namespace.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
Namespace.Builder
.
-
namespaceName
(experimental) A name for the namespace.- Parameters:
namespaceName
- A name for the namespace. This parameter is required.- Returns:
this
-
tableBucket
(experimental) The table bucket this namespace belongs to.- Parameters:
tableBucket
- The table bucket this namespace belongs to. This parameter is required.- Returns:
this
-
removalPolicy
(experimental) Policy to apply when the policy is removed from this stack.Default: RemovalPolicy.DESTROY
- Parameters:
removalPolicy
- Policy to apply when the policy is removed from this stack. This parameter is required.- Returns:
this
-
build
-