Class DatabaseInfo.Builder (2.15.5)

public abstract static class DatabaseInfo.Builder

Inheritance

java.lang.Object > DatabaseInfo.Builder

Constructors

Builder()

public Builder()

Methods

build()

public abstract Database build()
Returns
TypeDescription
Database

disableDropProtection()

public DatabaseInfo.Builder disableDropProtection()
Returns
TypeDescription
DatabaseInfo.Builder

enableDropProtection()

public DatabaseInfo.Builder enableDropProtection()
Returns
TypeDescription
DatabaseInfo.Builder

setDefaultLeader(String arg0)

public DatabaseInfo.Builder setDefaultLeader(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
DatabaseInfo.Builder

setDialect(Dialect arg0)

public DatabaseInfo.Builder setDialect(Dialect arg0)
Parameter
NameDescription
arg0Dialect
Returns
TypeDescription
DatabaseInfo.Builder

setEncryptionConfig(CustomerManagedEncryption arg0)

public abstract DatabaseInfo.Builder setEncryptionConfig(CustomerManagedEncryption arg0)
Parameter
NameDescription
arg0com.google.cloud.spanner.encryption.CustomerManagedEncryption
Returns
TypeDescription
DatabaseInfo.Builder

setProtoDescriptors(byte[] arg0)

public abstract DatabaseInfo.Builder setProtoDescriptors(byte[] arg0)
Parameter
NameDescription
arg0byte[]
Returns
TypeDescription
DatabaseInfo.Builder

setProtoDescriptors(InputStream arg0)

public abstract DatabaseInfo.Builder setProtoDescriptors(InputStream arg0)
Parameter
NameDescription
arg0InputStream
Returns
TypeDescription
DatabaseInfo.Builder
Exceptions
TypeDescription
IOException

setReconciling(boolean arg0)

protected DatabaseInfo.Builder setReconciling(boolean arg0)
Parameter
NameDescription
arg0boolean
Returns
TypeDescription
DatabaseInfo.Builder