Class SnapshotSchedulePolicyName.Builder (0.2.1)

public static class SnapshotSchedulePolicyName.Builder

Builder for projects/{project}/locations/{location}/snapshotSchedulePolicies/{snapshot_schedule_policy}.

Inheritance

java.lang.Object > SnapshotSchedulePolicyName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public SnapshotSchedulePolicyName build()
Returns
Type Description
SnapshotSchedulePolicyName

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getSnapshotSchedulePolicy()

public String getSnapshotSchedulePolicy()
Returns
Type Description
String

setLocation(String location)

public SnapshotSchedulePolicyName.Builder setLocation(String location)
Parameter
Name Description
location String
Returns
Type Description
SnapshotSchedulePolicyName.Builder

setProject(String project)

public SnapshotSchedulePolicyName.Builder setProject(String project)
Parameter
Name Description
project String
Returns
Type Description
SnapshotSchedulePolicyName.Builder

setSnapshotSchedulePolicy(String snapshotSchedulePolicy)

public SnapshotSchedulePolicyName.Builder setSnapshotSchedulePolicy(String snapshotSchedulePolicy)
Parameter
Name Description
snapshotSchedulePolicy String
Returns
Type Description
SnapshotSchedulePolicyName.Builder