Class BackupPolicyName.Builder (0.20.0)

public static class BackupPolicyName.Builder

Builder for projects/{project}/locations/{location}/backupPolicies/{backup_policy}.

Inheritance

java.lang.Object > BackupPolicyName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public BackupPolicyName build()
Returns
TypeDescription
BackupPolicyName

getBackupPolicy()

public String getBackupPolicy()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setBackupPolicy(String backupPolicy)

public BackupPolicyName.Builder setBackupPolicy(String backupPolicy)
Parameter
NameDescription
backupPolicyString
Returns
TypeDescription
BackupPolicyName.Builder

setLocation(String location)

public BackupPolicyName.Builder setLocation(String location)
Parameter
NameDescription
locationString
Returns
TypeDescription
BackupPolicyName.Builder

setProject(String project)

public BackupPolicyName.Builder setProject(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
BackupPolicyName.Builder