Class ResourceName.Builder (0.21.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
Type Description
ResourceName

getDeployment()

public String getDeployment()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getResource()

public String getResource()
Returns
Type Description
String

getRevision()

public String getRevision()
Returns
Type Description
String

setDeployment(String deployment)

public ResourceName.Builder setDeployment(String deployment)
Parameter
Name Description
deployment String
Returns
Type Description
ResourceName.Builder

setLocation(String location)

public ResourceName.Builder setLocation(String location)
Parameter
Name Description
location String
Returns
Type Description
ResourceName.Builder

setProject(String project)

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

setResource(String resource)

public ResourceName.Builder setResource(String resource)
Parameter
Name Description
resource String
Returns
Type Description
ResourceName.Builder

setRevision(String revision)

public ResourceName.Builder setRevision(String revision)
Parameter
Name Description
revision String
Returns
Type Description
ResourceName.Builder