Class ResourceName.Builder (0.16.0)

public static class ResourceName.Builder

Builder for projects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}/resources/{resource}.

Inheritance

java.lang.Object > ResourceName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public ResourceName build()
Returns
TypeDescription
ResourceName

getDeployment()

public String getDeployment()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getResource()

public String getResource()
Returns
TypeDescription
String

getRevision()

public String getRevision()
Returns
TypeDescription
String

setDeployment(String deployment)

public ResourceName.Builder setDeployment(String deployment)
Parameter
NameDescription
deploymentString
Returns
TypeDescription
ResourceName.Builder

setLocation(String location)

public ResourceName.Builder setLocation(String location)
Parameter
NameDescription
locationString
Returns
TypeDescription
ResourceName.Builder

setProject(String project)

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

setResource(String resource)

public ResourceName.Builder setResource(String resource)
Parameter
NameDescription
resourceString
Returns
TypeDescription
ResourceName.Builder

setRevision(String revision)

public ResourceName.Builder setRevision(String revision)
Parameter
NameDescription
revisionString
Returns
TypeDescription
ResourceName.Builder