Class SnapshotSchedulePolicyName.Builder (0.2.0)

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
TypeDescription
SnapshotSchedulePolicyName

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getSnapshotSchedulePolicy()

public String getSnapshotSchedulePolicy()
Returns
TypeDescription
String

setLocation(String location)

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

setProject(String project)

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

setSnapshotSchedulePolicy(String snapshotSchedulePolicy)

public SnapshotSchedulePolicyName.Builder setSnapshotSchedulePolicy(String snapshotSchedulePolicy)
Parameter
NameDescription
snapshotSchedulePolicyString
Returns
TypeDescription
SnapshotSchedulePolicyName.Builder