Class SnapshotName.Builder (2.17.1)

public static class SnapshotName.Builder

Builder for projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}.

Inheritance

java.lang.Object > SnapshotName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public SnapshotName build()
Returns
TypeDescription
SnapshotName

getCluster()

public String getCluster()
Returns
TypeDescription
String

getInstance()

public String getInstance()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getSnapshot()

public String getSnapshot()
Returns
TypeDescription
String

setCluster(String cluster)

public SnapshotName.Builder setCluster(String cluster)
Parameter
NameDescription
clusterString
Returns
TypeDescription
SnapshotName.Builder

setInstance(String instance)

public SnapshotName.Builder setInstance(String instance)
Parameter
NameDescription
instanceString
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