Interface Namespace.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Namespace.Builder,Namespace>,SdkBuilder<Namespace.Builder,Namespace>,SdkPojo
- Enclosing class:
- Namespace
public static interface Namespace.Builder extends SdkPojo, CopyableBuilder<Namespace.Builder,Namespace>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Namespace.BuilderadminPasswordSecretArn(String adminPasswordSecretArn)The Amazon Resource Name (ARN) for the namespace's admin user credentials secret.Namespace.BuilderadminPasswordSecretKmsKeyId(String adminPasswordSecretKmsKeyId)The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.Namespace.BuilderadminUsername(String adminUsername)The username of the administrator for the first database created in the namespace.Namespace.BuildercreationDate(Instant creationDate)The date of when the namespace was created.Namespace.BuilderdbName(String dbName)The name of the first database created in the namespace.Namespace.BuilderdefaultIamRoleArn(String defaultIamRoleArn)The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.Namespace.BuilderiamRoles(String... iamRoles)A list of IAM roles to associate with the namespace.Namespace.BuilderiamRoles(Collection<String> iamRoles)A list of IAM roles to associate with the namespace.Namespace.BuilderkmsKeyId(String kmsKeyId)The ID of the Amazon Web Services Key Management Service key used to encrypt your data.Namespace.BuilderlogExports(Collection<LogExport> logExports)The types of logs the namespace can export.Namespace.BuilderlogExports(LogExport... logExports)The types of logs the namespace can export.Namespace.BuilderlogExportsWithStrings(String... logExports)The types of logs the namespace can export.Namespace.BuilderlogExportsWithStrings(Collection<String> logExports)The types of logs the namespace can export.Namespace.BuildernamespaceArn(String namespaceArn)The Amazon Resource Name (ARN) associated with a namespace.Namespace.BuildernamespaceId(String namespaceId)The unique identifier of a namespace.Namespace.BuildernamespaceName(String namespaceName)The name of the namespace.Namespace.Builderstatus(String status)The status of the namespace.Namespace.Builderstatus(NamespaceStatus status)The status of the namespace.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
adminPasswordSecretArn
Namespace.Builder adminPasswordSecretArn(String adminPasswordSecretArn)
The Amazon Resource Name (ARN) for the namespace's admin user credentials secret.
- Parameters:
adminPasswordSecretArn- The Amazon Resource Name (ARN) for the namespace's admin user credentials secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adminPasswordSecretKmsKeyId
Namespace.Builder adminPasswordSecretKmsKeyId(String adminPasswordSecretKmsKeyId)
The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
- Parameters:
adminPasswordSecretKmsKeyId- The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adminUsername
Namespace.Builder adminUsername(String adminUsername)
The username of the administrator for the first database created in the namespace.
- Parameters:
adminUsername- The username of the administrator for the first database created in the namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
Namespace.Builder creationDate(Instant creationDate)
The date of when the namespace was created.
- Parameters:
creationDate- The date of when the namespace was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbName
Namespace.Builder dbName(String dbName)
The name of the first database created in the namespace.
- Parameters:
dbName- The name of the first database created in the namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultIamRoleArn
Namespace.Builder defaultIamRoleArn(String defaultIamRoleArn)
The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.
- Parameters:
defaultIamRoleArn- The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamRoles
Namespace.Builder iamRoles(Collection<String> iamRoles)
A list of IAM roles to associate with the namespace.
- Parameters:
iamRoles- A list of IAM roles to associate with the namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamRoles
Namespace.Builder iamRoles(String... iamRoles)
A list of IAM roles to associate with the namespace.
- Parameters:
iamRoles- A list of IAM roles to associate with the namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
Namespace.Builder kmsKeyId(String kmsKeyId)
The ID of the Amazon Web Services Key Management Service key used to encrypt your data.
- Parameters:
kmsKeyId- The ID of the Amazon Web Services Key Management Service key used to encrypt your data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logExportsWithStrings
Namespace.Builder logExportsWithStrings(Collection<String> logExports)
The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.
- Parameters:
logExports- The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logExportsWithStrings
Namespace.Builder logExportsWithStrings(String... logExports)
The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.
- Parameters:
logExports- The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logExports
Namespace.Builder logExports(Collection<LogExport> logExports)
The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.
- Parameters:
logExports- The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logExports
Namespace.Builder logExports(LogExport... logExports)
The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.
- Parameters:
logExports- The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaceArn
Namespace.Builder namespaceArn(String namespaceArn)
The Amazon Resource Name (ARN) associated with a namespace.
- Parameters:
namespaceArn- The Amazon Resource Name (ARN) associated with a namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaceId
Namespace.Builder namespaceId(String namespaceId)
The unique identifier of a namespace.
- Parameters:
namespaceId- The unique identifier of a namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaceName
Namespace.Builder namespaceName(String namespaceName)
The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
- Parameters:
namespaceName- The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Namespace.Builder status(String status)
The status of the namespace.
- Parameters:
status- The status of the namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NamespaceStatus,NamespaceStatus
-
status
Namespace.Builder status(NamespaceStatus status)
The status of the namespace.
- Parameters:
status- The status of the namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NamespaceStatus,NamespaceStatus
-
-