Interface CreateGlobalClusterRequest.Builder

    • Method Detail

      • globalClusterIdentifier

        CreateGlobalClusterRequest.Builder globalClusterIdentifier​(String globalClusterIdentifier)

        The cluster identifier of the new global cluster.

        Parameters:
        globalClusterIdentifier - The cluster identifier of the new global cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceDBClusterIdentifier

        CreateGlobalClusterRequest.Builder sourceDBClusterIdentifier​(String sourceDBClusterIdentifier)

        The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster. This parameter is optional.

        Parameters:
        sourceDBClusterIdentifier - The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster. This parameter is optional.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • engine

        CreateGlobalClusterRequest.Builder engine​(String engine)

        The name of the database engine to be used for this cluster.

        Parameters:
        engine - The name of the database engine to be used for this cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • engineVersion

        CreateGlobalClusterRequest.Builder engineVersion​(String engineVersion)

        The engine version of the global cluster.

        Parameters:
        engineVersion - The engine version of the global cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deletionProtection

        CreateGlobalClusterRequest.Builder deletionProtection​(Boolean deletionProtection)

        The deletion protection setting for the new global cluster. The global cluster can't be deleted when deletion protection is enabled.

        Parameters:
        deletionProtection - The deletion protection setting for the new global cluster. The global cluster can't be deleted when deletion protection is enabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • databaseName

        CreateGlobalClusterRequest.Builder databaseName​(String databaseName)

        The name for your database of up to 64 alpha-numeric characters. If you do not provide a name, Amazon DocumentDB will not create a database in the global cluster you are creating.

        Parameters:
        databaseName - The name for your database of up to 64 alpha-numeric characters. If you do not provide a name, Amazon DocumentDB will not create a database in the global cluster you are creating.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • storageEncrypted

        CreateGlobalClusterRequest.Builder storageEncrypted​(Boolean storageEncrypted)

        The storage encryption setting for the new global cluster.

        Parameters:
        storageEncrypted - The storage encryption setting for the new global cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.