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

getInstance()

public String getInstance()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getSnapshot()

public String getSnapshot()
Returns
TypeDescription
String

setInstance(String instance)

public SnapshotName.Builder setInstance(String instance)
Parameter
NameDescription
instanceString
Returns
TypeDescription
SnapshotName.Builder

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