Class ToolName.Builder (0.50.0)

public static class ToolName.Builder

Builder for projects/{project}/locations/{location}/agents/{agent}/tools/{tool}.

Inheritance

java.lang.Object > ToolName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public ToolName build()
Returns
TypeDescription
ToolName

getAgent()

public String getAgent()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getTool()

public String getTool()
Returns
TypeDescription
String

setAgent(String agent)

public ToolName.Builder setAgent(String agent)
Parameter
NameDescription
agentString
Returns
TypeDescription
ToolName.Builder

setLocation(String location)

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

setProject(String project)

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

setTool(String tool)

public ToolName.Builder setTool(String tool)
Parameter
NameDescription
toolString
Returns
TypeDescription
ToolName.Builder