Class CreateBackupRequest (2.3.1)

public final class CreateBackupRequest

Inheritance

Object > 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

of(String clusterId, String backupId)

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

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
CreateBackupRequest