Interface Namespace.Builder

  • Method Details

    • 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.
    • catalogArn

      Namespace.Builder catalogArn(String catalogArn)

      The Amazon Resource Name (ARN) of the Glue Data Catalog associated with the namespace enabled with Amazon Redshift federated permissions.

      Parameters:
      catalogArn - The Amazon Resource Name (ARN) of the Glue Data Catalog associated with the namespace enabled with Amazon Redshift federated permissions.
      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.
    • lakehouseRegistrationStatus

      Namespace.Builder lakehouseRegistrationStatus(String lakehouseRegistrationStatus)

      The status of the lakehouse registration for the namespace. Indicates whether the namespace is successfully registered with Amazon Redshift federated permissions.

      Parameters:
      lakehouseRegistrationStatus - The status of the lakehouse registration for the namespace. Indicates whether the namespace is successfully registered with Amazon Redshift federated permissions.
      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.
    • s3TablePublishStatus

      Namespace.Builder s3TablePublishStatus(S3TablePublishStatus s3TablePublishStatus)

      The current Amazon S3 Tables log-publishing status for the namespace. Not returned when S3 Tables publishing has never been configured for the namespace.

      Parameters:
      s3TablePublishStatus - The current Amazon S3 Tables log-publishing status for the namespace. Not returned when S3 Tables publishing has never been configured for the namespace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3TablePublishStatus

      default Namespace.Builder s3TablePublishStatus(Consumer<S3TablePublishStatus.Builder> s3TablePublishStatus)

      The current Amazon S3 Tables log-publishing status for the namespace. Not returned when S3 Tables publishing has never been configured for the namespace.

      This is a convenience method that creates an instance of the S3TablePublishStatus.Builder avoiding the need to create one manually via S3TablePublishStatus.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to s3TablePublishStatus(S3TablePublishStatus).

      Parameters:
      s3TablePublishStatus - a consumer that will call methods on S3TablePublishStatus.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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:
    • 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: