Interface Namespace.Builder

    • 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