Class CreateBackupRequest (2.34.0)

public final class CreateBackupRequest

Fluent wrapper for com.google.bigtable.admin.v2.CreateBackupRequest

Inheritance

Object > CreateBackupRequest

Static Methods

of(String clusterId, String backupId)

public static CreateBackupRequest of(String clusterId, String backupId)
Parameters
NameDescription
clusterIdString
backupIdString
Returns
TypeDescription
CreateBackupRequest

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

setExpireTime(Instant expireTime)

public CreateBackupRequest setExpireTime(Instant expireTime)
Parameter
NameDescription
expireTimeorg.threeten.bp.Instant
Returns
TypeDescription
CreateBackupRequest

setSourceTableId(String sourceTableId)

public CreateBackupRequest setSourceTableId(String sourceTableId)
Parameter
NameDescription
sourceTableIdString
Returns
TypeDescription
CreateBackupRequest

toProto(String projectId, String instanceId)

public CreateBackupRequest toProto(String projectId, String instanceId)
Parameters
NameDescription
projectIdString
instanceIdString
Returns
TypeDescription
com.google.bigtable.admin.v2.CreateBackupRequest