public static class CreateAgentEndpointDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateAgentEndpointDetails.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic CreateAgentEndpointDetails.Builder description(String description)
An optional description of the endpoint.
description
- the value to setpublic CreateAgentEndpointDetails.Builder agentId(String agentId)
The OCID of the agent that this endpoint is associated with.
agentId
- the value to setpublic CreateAgentEndpointDetails.Builder contentModerationConfig(ContentModerationConfig contentModerationConfig)
public CreateAgentEndpointDetails.Builder shouldEnableTrace(Boolean shouldEnableTrace)
Whether to show traces in the chat result.
shouldEnableTrace
- the value to setpublic CreateAgentEndpointDetails.Builder shouldEnableCitation(Boolean shouldEnableCitation)
Whether to show citations in the chat result.
shouldEnableCitation
- the value to setpublic CreateAgentEndpointDetails.Builder shouldEnableSession(Boolean shouldEnableSession)
Whether or not to enable Session-based chat.
shouldEnableSession
- the value to setpublic CreateAgentEndpointDetails.Builder sessionConfig(SessionConfig sessionConfig)
public CreateAgentEndpointDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment to create the endpoint in.
compartmentId
- the value to setpublic CreateAgentEndpointDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic CreateAgentEndpointDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic CreateAgentEndpointDetails build()
public CreateAgentEndpointDetails.Builder copy(CreateAgentEndpointDetails model)
Copyright © 2016–2024. All rights reserved.