Class SnapshotName.Builder (0.33.0)

public static class SnapshotName.Builder

Builder for projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot}.

Inheritance

java.lang.Object > SnapshotName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public SnapshotName build()
Returns
Type Description
SnapshotName

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getSnapshot()

public String getSnapshot()
Returns
Type Description
String

getVolume()

public String getVolume()
Returns
Type Description
String

setLocation(String location)

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

setProject(String project)

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

setSnapshot(String snapshot)

public SnapshotName.Builder setSnapshot(String snapshot)
Parameter
Name Description
snapshot String
Returns
Type Description
SnapshotName.Builder

setVolume(String volume)

public SnapshotName.Builder setVolume(String volume)
Parameter
Name Description
volume String
Returns
Type Description
SnapshotName.Builder