public static final class CfnNamespace.Builder
extends java.lang.Object
CfnNamespace
.Modifier and Type | Method and Description |
---|---|
CfnNamespace.Builder |
adminUsername(java.lang.String adminUsername)
The username of the administrator for the primary database created in the namespace.
|
CfnNamespace.Builder |
adminUserPassword(java.lang.String adminUserPassword)
The password of the administrator for the primary database created in the namespace.
|
CfnNamespace |
build() |
static CfnNamespace.Builder |
create(Construct scope,
java.lang.String id) |
CfnNamespace.Builder |
dbName(java.lang.String dbName)
The name of the primary database created in the namespace.
|
CfnNamespace.Builder |
defaultIamRoleArn(java.lang.String defaultIamRoleArn)
The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.
|
CfnNamespace.Builder |
finalSnapshotName(java.lang.String finalSnapshotName)
The name of the snapshot to be created before the namespace is deleted.
|
CfnNamespace.Builder |
finalSnapshotRetentionPeriod(java.lang.Number finalSnapshotRetentionPeriod)
How long to retain the final snapshot.
|
CfnNamespace.Builder |
iamRoles(java.util.List<java.lang.String> iamRoles)
A list of IAM roles to associate with the namespace.
|
CfnNamespace.Builder |
kmsKeyId(java.lang.String kmsKeyId)
The ID of the AWS Key Management Service key used to encrypt your data.
|
CfnNamespace.Builder |
logExports(java.util.List<java.lang.String> logExports)
The types of logs the namespace can export.
|
CfnNamespace.Builder |
namespace(CfnNamespace.NamespaceProperty namespace)
`AWS::RedshiftServerless::Namespace.Namespace`.
|
CfnNamespace.Builder |
namespace(IResolvable namespace)
`AWS::RedshiftServerless::Namespace.Namespace`.
|
CfnNamespace.Builder |
namespaceName(java.lang.String namespaceName)
The name of the namespace.
|
CfnNamespace.Builder |
tags(java.util.List<? extends CfnTag> tags)
The map of the key-value pairs used to tag the namespace.
|
public static CfnNamespace.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnNamespace.NamespaceProperty.Builder
.public CfnNamespace.Builder namespaceName(java.lang.String namespaceName)
namespaceName
- The name of the namespace. This parameter is required.this
public CfnNamespace.Builder adminUsername(java.lang.String adminUsername)
adminUsername
- The username of the administrator for the primary database created in the namespace. This parameter is required.this
public CfnNamespace.Builder adminUserPassword(java.lang.String adminUserPassword)
adminUserPassword
- The password of the administrator for the primary database created in the namespace. This parameter is required.this
public CfnNamespace.Builder dbName(java.lang.String dbName)
dbName
- The name of the primary database created in the namespace. This parameter is required.this
public CfnNamespace.Builder defaultIamRoleArn(java.lang.String defaultIamRoleArn)
defaultIamRoleArn
- The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. This parameter is required.this
public CfnNamespace.Builder finalSnapshotName(java.lang.String finalSnapshotName)
finalSnapshotName
- The name of the snapshot to be created before the namespace is deleted. This parameter is required.this
public CfnNamespace.Builder finalSnapshotRetentionPeriod(java.lang.Number finalSnapshotRetentionPeriod)
finalSnapshotRetentionPeriod
- How long to retain the final snapshot. This parameter is required.this
public CfnNamespace.Builder iamRoles(java.util.List<java.lang.String> iamRoles)
iamRoles
- A list of IAM roles to associate with the namespace. This parameter is required.this
public CfnNamespace.Builder kmsKeyId(java.lang.String kmsKeyId)
kmsKeyId
- The ID of the AWS Key Management Service key used to encrypt your data. This parameter is required.this
public CfnNamespace.Builder logExports(java.util.List<java.lang.String> logExports)
Available export types are userlog
, connectionlog
, and useractivitylog
.
logExports
- The types of logs the namespace can export. This parameter is required.this
public CfnNamespace.Builder namespace(CfnNamespace.NamespaceProperty namespace)
namespace
- `AWS::RedshiftServerless::Namespace.Namespace`. This parameter is required.this
public CfnNamespace.Builder namespace(IResolvable namespace)
namespace
- `AWS::RedshiftServerless::Namespace.Namespace`. This parameter is required.this
public CfnNamespace.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- The map of the key-value pairs used to tag the namespace. This parameter is required.this
public CfnNamespace build()