Class DatabaseInfo.Builder (2.20.2)

public abstract static class DatabaseInfo.Builder

Inheritance

java.lang.Object > DatabaseInfo.Builder

Constructors

Builder()

public Builder()

Methods

build()

public abstract Database build()
Returns
Type Description
Database

disableDropProtection()

public DatabaseInfo.Builder disableDropProtection()
Returns
Type Description
DatabaseInfo.Builder

enableDropProtection()

public DatabaseInfo.Builder enableDropProtection()
Returns
Type Description
DatabaseInfo.Builder

setDefaultLeader(String arg0)

public DatabaseInfo.Builder setDefaultLeader(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
DatabaseInfo.Builder

setDialect(Dialect arg0)

public DatabaseInfo.Builder setDialect(Dialect arg0)
Parameter
Name Description
arg0 Dialect
Returns
Type Description
DatabaseInfo.Builder

setEncryptionConfig(CustomerManagedEncryption arg0)

public abstract DatabaseInfo.Builder setEncryptionConfig(CustomerManagedEncryption arg0)
Parameter
Name Description
arg0 com.google.cloud.spanner.encryption.CustomerManagedEncryption
Returns
Type Description
DatabaseInfo.Builder

setProtoDescriptors(byte[] arg0)

public abstract DatabaseInfo.Builder setProtoDescriptors(byte[] arg0)
Parameter
Name Description
arg0 byte[]
Returns
Type Description
DatabaseInfo.Builder

setProtoDescriptors(InputStream arg0)

public abstract DatabaseInfo.Builder setProtoDescriptors(InputStream arg0)
Parameter
Name Description
arg0 InputStream
Returns
Type Description
DatabaseInfo.Builder
Exceptions
Type Description
IOException

setReconciling(boolean arg0)

protected DatabaseInfo.Builder setReconciling(boolean arg0)
Parameter
Name Description
arg0 boolean
Returns
Type Description
DatabaseInfo.Builder