Class PersistentResourceName.Builder (3.38.0)

public static class PersistentResourceName.Builder

Builder for projects/{project}/locations/{location}/persistentResources/{persistent_resource}.

Inheritance

java.lang.Object > PersistentResourceName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public PersistentResourceName build()
Returns
TypeDescription
PersistentResourceName

getLocation()

public String getLocation()
Returns
TypeDescription
String

getPersistentResource()

public String getPersistentResource()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setLocation(String location)

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

setPersistentResource(String persistentResource)

public PersistentResourceName.Builder setPersistentResource(String persistentResource)
Parameter
NameDescription
persistentResourceString
Returns
TypeDescription
PersistentResourceName.Builder

setProject(String project)

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