public static interface CreateNamespaceRequest.Builder extends RedshiftServerlessRequest.Builder, SdkPojo, CopyableBuilder<CreateNamespaceRequest.Builder,CreateNamespaceRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateNamespaceRequest.Builder |
adminPasswordSecretKmsKeyId(String adminPasswordSecretKmsKeyId)
The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials
secret.
|
CreateNamespaceRequest.Builder |
adminUsername(String adminUsername)
The username of the administrator for the first database created in the namespace.
|
CreateNamespaceRequest.Builder |
adminUserPassword(String adminUserPassword)
The password of the administrator for the first database created in the namespace.
|
CreateNamespaceRequest.Builder |
dbName(String dbName)
The name of the first database created in the namespace.
|
CreateNamespaceRequest.Builder |
defaultIamRoleArn(String defaultIamRoleArn)
The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.
|
CreateNamespaceRequest.Builder |
iamRoles(Collection<String> iamRoles)
A list of IAM roles to associate with the namespace.
|
CreateNamespaceRequest.Builder |
iamRoles(String... iamRoles)
A list of IAM roles to associate with the namespace.
|
CreateNamespaceRequest.Builder |
kmsKeyId(String kmsKeyId)
The ID of the Amazon Web Services Key Management Service key used to encrypt your data.
|
CreateNamespaceRequest.Builder |
logExports(Collection<LogExport> logExports)
The types of logs the namespace can export.
|
CreateNamespaceRequest.Builder |
logExports(LogExport... logExports)
The types of logs the namespace can export.
|
CreateNamespaceRequest.Builder |
logExportsWithStrings(Collection<String> logExports)
The types of logs the namespace can export.
|
CreateNamespaceRequest.Builder |
logExportsWithStrings(String... logExports)
The types of logs the namespace can export.
|
CreateNamespaceRequest.Builder |
manageAdminPassword(Boolean manageAdminPassword)
If
true, Amazon Redshift uses Secrets Manager to manage the namespace's admin credentials. |
CreateNamespaceRequest.Builder |
namespaceName(String namespaceName)
The name of the namespace.
|
CreateNamespaceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateNamespaceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateNamespaceRequest.Builder |
tags(Collection<Tag> tags)
A list of tag instances.
|
CreateNamespaceRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of tag instances.
|
CreateNamespaceRequest.Builder |
tags(Tag... tags)
A list of tag instances.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateNamespaceRequest.Builder adminPasswordSecretKmsKeyId(String adminPasswordSecretKmsKeyId)
The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials
secret. You can only use this parameter if manageAdminPassword is true.
adminPasswordSecretKmsKeyId - The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin
credentials secret. You can only use this parameter if manageAdminPassword is true.CreateNamespaceRequest.Builder adminUserPassword(String adminUserPassword)
The password of the administrator for the first database created in the namespace.
You can't use adminUserPassword if manageAdminPassword is true.
adminUserPassword - The password of the administrator for the first database created in the namespace.
You can't use adminUserPassword if manageAdminPassword is true.
CreateNamespaceRequest.Builder adminUsername(String adminUsername)
The username of the administrator for the first database created in the namespace.
adminUsername - The username of the administrator for the first database created in the namespace.CreateNamespaceRequest.Builder dbName(String dbName)
The name of the first database created in the namespace.
dbName - The name of the first database created in the namespace.CreateNamespaceRequest.Builder defaultIamRoleArn(String defaultIamRoleArn)
The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.
defaultIamRoleArn - The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.CreateNamespaceRequest.Builder iamRoles(Collection<String> iamRoles)
A list of IAM roles to associate with the namespace.
iamRoles - A list of IAM roles to associate with the namespace.CreateNamespaceRequest.Builder iamRoles(String... iamRoles)
A list of IAM roles to associate with the namespace.
iamRoles - A list of IAM roles to associate with the namespace.CreateNamespaceRequest.Builder kmsKeyId(String kmsKeyId)
The ID of the Amazon Web Services Key Management Service key used to encrypt your data.
kmsKeyId - The ID of the Amazon Web Services Key Management Service key used to encrypt your data.CreateNamespaceRequest.Builder logExportsWithStrings(Collection<String> logExports)
The types of logs the namespace can export. Available export types are userlog,
connectionlog, and useractivitylog.
logExports - The types of logs the namespace can export. Available export types are userlog,
connectionlog, and useractivitylog.CreateNamespaceRequest.Builder logExportsWithStrings(String... logExports)
The types of logs the namespace can export. Available export types are userlog,
connectionlog, and useractivitylog.
logExports - The types of logs the namespace can export. Available export types are userlog,
connectionlog, and useractivitylog.CreateNamespaceRequest.Builder logExports(Collection<LogExport> logExports)
The types of logs the namespace can export. Available export types are userlog,
connectionlog, and useractivitylog.
logExports - The types of logs the namespace can export. Available export types are userlog,
connectionlog, and useractivitylog.CreateNamespaceRequest.Builder logExports(LogExport... logExports)
The types of logs the namespace can export. Available export types are userlog,
connectionlog, and useractivitylog.
logExports - The types of logs the namespace can export. Available export types are userlog,
connectionlog, and useractivitylog.CreateNamespaceRequest.Builder manageAdminPassword(Boolean manageAdminPassword)
If true, Amazon Redshift uses Secrets Manager to manage the namespace's admin credentials. You
can't use adminUserPassword if manageAdminPassword is true. If
manageAdminPassword is false or not set, Amazon Redshift uses adminUserPassword for
the admin user account's password.
manageAdminPassword - If true, Amazon Redshift uses Secrets Manager to manage the namespace's admin
credentials. You can't use adminUserPassword if manageAdminPassword is true.
If manageAdminPassword is false or not set, Amazon Redshift uses
adminUserPassword for the admin user account's password.CreateNamespaceRequest.Builder namespaceName(String namespaceName)
The name of the namespace.
namespaceName - The name of the namespace.CreateNamespaceRequest.Builder tags(Collection<Tag> tags)
A list of tag instances.
tags - A list of tag instances.CreateNamespaceRequest.Builder tags(Tag... tags)
A list of tag instances.
tags - A list of tag instances.CreateNamespaceRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tag instances.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateNamespaceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateNamespaceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.