Class SnapshotName.Builder (0.16.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
TypeDescription
SnapshotName

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getSnapshot()

public String getSnapshot()
Returns
TypeDescription
String

getVolume()

public String getVolume()
Returns
TypeDescription
String

setLocation(String location)

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

setProject(String project)

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

setSnapshot(String snapshot)

public SnapshotName.Builder setSnapshot(String snapshot)
Parameter
NameDescription
snapshotString
Returns
TypeDescription
SnapshotName.Builder

setVolume(String volume)

public SnapshotName.Builder setVolume(String volume)
Parameter
NameDescription
volumeString
Returns
TypeDescription
SnapshotName.Builder