Class ContextName.ProjectLocationEnvironmentUserSessionContextBuilder (4.6.0)

public static class ContextName.ProjectLocationEnvironmentUserSessionContextBuilder

Builder for projects/{project}/locations/{location}/agent/environments/{environment}/users/{user}/sessions/{session}/contexts/{context}.

Inheritance

java.lang.Object > ContextName.ProjectLocationEnvironmentUserSessionContextBuilder

Constructors

ProjectLocationEnvironmentUserSessionContextBuilder()

protected ProjectLocationEnvironmentUserSessionContextBuilder()

Methods

build()

public ContextName build()
Returns
TypeDescription
ContextName

getContext()

public String getContext()
Returns
TypeDescription
String

getEnvironment()

public String getEnvironment()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getSession()

public String getSession()
Returns
TypeDescription
String

getUser()

public String getUser()
Returns
TypeDescription
String

setContext(String context)

public ContextName.ProjectLocationEnvironmentUserSessionContextBuilder setContext(String context)
Parameter
NameDescription
contextString
Returns
TypeDescription
ContextName.ProjectLocationEnvironmentUserSessionContextBuilder

setEnvironment(String environment)

public ContextName.ProjectLocationEnvironmentUserSessionContextBuilder setEnvironment(String environment)
Parameter
NameDescription
environmentString
Returns
TypeDescription
ContextName.ProjectLocationEnvironmentUserSessionContextBuilder

setLocation(String location)

public ContextName.ProjectLocationEnvironmentUserSessionContextBuilder setLocation(String location)
Parameter
NameDescription
locationString
Returns
TypeDescription
ContextName.ProjectLocationEnvironmentUserSessionContextBuilder

setProject(String project)

public ContextName.ProjectLocationEnvironmentUserSessionContextBuilder setProject(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
ContextName.ProjectLocationEnvironmentUserSessionContextBuilder

setSession(String session)

public ContextName.ProjectLocationEnvironmentUserSessionContextBuilder setSession(String session)
Parameter
NameDescription
sessionString
Returns
TypeDescription
ContextName.ProjectLocationEnvironmentUserSessionContextBuilder

setUser(String user)

public ContextName.ProjectLocationEnvironmentUserSessionContextBuilder setUser(String user)
Parameter
NameDescription
userString
Returns
TypeDescription
ContextName.ProjectLocationEnvironmentUserSessionContextBuilder