Class VolumeSnapshotName.Builder (0.39.0)

public static class VolumeSnapshotName.Builder

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

Inheritance

java.lang.Object > VolumeSnapshotName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public VolumeSnapshotName build()
Returns
TypeDescription
VolumeSnapshotName

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 VolumeSnapshotName.Builder setLocation(String location)
Parameter
NameDescription
locationString
Returns
TypeDescription
VolumeSnapshotName.Builder

setProject(String project)

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

setSnapshot(String snapshot)

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

setVolume(String volume)

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