Class VolumeSnapshotName.Builder (0.42.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
Type Description
VolumeSnapshotName

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 VolumeSnapshotName.Builder setLocation(String location)
Parameter
Name Description
location String
Returns
Type Description
VolumeSnapshotName.Builder

setProject(String project)

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

setSnapshot(String snapshot)

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

setVolume(String volume)

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