Class BackupInfo.Builder (2.18.1)

public abstract static class BackupInfo.Builder

Inheritance

java.lang.Object > BackupInfo.Builder

Constructors

Builder()

public Builder()

Methods

addAllReferencingBackups(List<String> arg0)

protected BackupInfo.Builder addAllReferencingBackups(List<String> arg0)
Parameter
Name Description
arg0 List<String>
Returns
Type Description
BackupInfo.Builder

build()

public abstract Backup build()
Returns
Type Description
Backup

setDatabase(DatabaseId arg0)

public abstract BackupInfo.Builder setDatabase(DatabaseId arg0)
Parameter
Name Description
arg0 DatabaseId
Returns
Type Description
BackupInfo.Builder

setEncryptionConfig(BackupEncryptionConfig arg0)

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

setExpireTime(Timestamp arg0)

public abstract BackupInfo.Builder setExpireTime(Timestamp arg0)
Parameter
Name Description
arg0 com.google.cloud.Timestamp
Returns
Type Description
BackupInfo.Builder

setMaxExpireTime(Timestamp arg0)

protected BackupInfo.Builder setMaxExpireTime(Timestamp arg0)
Parameter
Name Description
arg0 com.google.cloud.Timestamp
Returns
Type Description
BackupInfo.Builder

setVersionTime(Timestamp arg0)

public abstract BackupInfo.Builder setVersionTime(Timestamp arg0)
Parameter
Name Description
arg0 com.google.cloud.Timestamp
Returns
Type Description
BackupInfo.Builder