Class SnapshotName.Builder (1.52.0)

public static class SnapshotName.Builder

Builder for projects/{project}/locations/{location}/instances/{instance}/snapshots/{snapshot}.

Inheritance

java.lang.Object > SnapshotName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public SnapshotName build()
Returns
Type Description
SnapshotName

getInstance()

public String getInstance()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getSnapshot()

public String getSnapshot()
Returns
Type Description
String

setInstance(String instance)

public SnapshotName.Builder setInstance(String instance)
Parameter
Name Description
instance String
Returns
Type Description
SnapshotName.Builder

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