Class AgentEndpoint.Builder
- java.lang.Object
- 
- com.oracle.bmc.generativeaiagent.model.AgentEndpoint.Builder
 
- 
- Enclosing class:
- AgentEndpoint
 
 public static class AgentEndpoint.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentEndpoint.BuilderagentId(String agentId)The OCID of the agent that this endpoint is associated with.AgentEndpointbuild()AgentEndpoint.BuildercompartmentId(String compartmentId)The OCID of the compartment.AgentEndpoint.BuildercontentModerationConfig(ContentModerationConfig contentModerationConfig)AgentEndpoint.Buildercopy(AgentEndpoint model)AgentEndpoint.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.AgentEndpoint.Builderdescription(String description)An optional description of the endpoint.AgentEndpoint.BuilderdisplayName(String displayName)A user-friendly name.AgentEndpoint.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.AgentEndpoint.BuilderguardrailConfig(GuardrailConfig guardrailConfig)AgentEndpoint.BuilderhumanInputConfig(HumanInputConfig humanInputConfig)AgentEndpoint.Builderid(String id)The OCID of the endpoint.AgentEndpoint.BuilderlifecycleDetails(String lifecycleDetails)A message that describes the current state of the endpoint in more detail.AgentEndpoint.BuilderlifecycleState(AgentEndpoint.LifecycleState lifecycleState)The current state of the endpoint.AgentEndpoint.Buildermetadata(Map<String,String> metadata)Key-value pairs to allow additional configurations.AgentEndpoint.BuilderoutputConfig(OutputConfig outputConfig)AgentEndpoint.BuildersessionConfig(SessionConfig sessionConfig)AgentEndpoint.BuildershouldEnableCitation(Boolean shouldEnableCitation)Whether to show citations in the chat result.AgentEndpoint.BuildershouldEnableMultiLanguage(Boolean shouldEnableMultiLanguage)Whether to enable multi-language for chat.AgentEndpoint.BuildershouldEnableSession(Boolean shouldEnableSession)Whether or not to enable Session-based chat.AgentEndpoint.BuildershouldEnableTrace(Boolean shouldEnableTrace)Whether to show traces in the chat result.AgentEndpoint.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.AgentEndpoint.BuildertimeCreated(Date timeCreated)The date and time the AgentEndpoint was created, in the format defined by RFC 3339.AgentEndpoint.BuildertimeUpdated(Date timeUpdated)The date and time the endpoint was updated, in the format defined by RFC 3339.
 
- 
- 
- 
Method Detail- 
idpublic AgentEndpoint.Builder id(String id) The OCID of the endpoint.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic AgentEndpoint.Builder displayName(String displayName) A user-friendly name.Does not have to be unique, and it’s changeable. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic AgentEndpoint.Builder description(String description) An optional description of the endpoint.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic AgentEndpoint.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
agentIdpublic AgentEndpoint.Builder agentId(String agentId) The OCID of the agent that this endpoint is associated with.- Parameters:
- agentId- the value to set
- Returns:
- this builder
 
 - 
contentModerationConfigpublic AgentEndpoint.Builder contentModerationConfig(ContentModerationConfig contentModerationConfig) 
 - 
guardrailConfigpublic AgentEndpoint.Builder guardrailConfig(GuardrailConfig guardrailConfig) 
 - 
metadatapublic AgentEndpoint.Builder metadata(Map<String,String> metadata) Key-value pairs to allow additional configurations.- Parameters:
- metadata- the value to set
- Returns:
- this builder
 
 - 
humanInputConfigpublic AgentEndpoint.Builder humanInputConfig(HumanInputConfig humanInputConfig) 
 - 
outputConfigpublic AgentEndpoint.Builder outputConfig(OutputConfig outputConfig) 
 - 
shouldEnableTracepublic AgentEndpoint.Builder shouldEnableTrace(Boolean shouldEnableTrace) Whether to show traces in the chat result.- Parameters:
- shouldEnableTrace- the value to set
- Returns:
- this builder
 
 - 
shouldEnableCitationpublic AgentEndpoint.Builder shouldEnableCitation(Boolean shouldEnableCitation) Whether to show citations in the chat result.- Parameters:
- shouldEnableCitation- the value to set
- Returns:
- this builder
 
 - 
shouldEnableSessionpublic AgentEndpoint.Builder shouldEnableSession(Boolean shouldEnableSession) Whether or not to enable Session-based chat.- Parameters:
- shouldEnableSession- the value to set
- Returns:
- this builder
 
 - 
shouldEnableMultiLanguagepublic AgentEndpoint.Builder shouldEnableMultiLanguage(Boolean shouldEnableMultiLanguage) Whether to enable multi-language for chat.- Parameters:
- shouldEnableMultiLanguage- the value to set
- Returns:
- this builder
 
 - 
sessionConfigpublic AgentEndpoint.Builder sessionConfig(SessionConfig sessionConfig) 
 - 
timeCreatedpublic AgentEndpoint.Builder timeCreated(Date timeCreated) The date and time the AgentEndpoint was created, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic AgentEndpoint.Builder timeUpdated(Date timeUpdated) The date and time the endpoint was updated, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic AgentEndpoint.Builder lifecycleState(AgentEndpoint.LifecycleState lifecycleState) The current state of the endpoint.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic AgentEndpoint.Builder lifecycleDetails(String lifecycleDetails) A message that describes the current state of the endpoint in more detail.For example, can be used to provide actionable information for a resource in the Failed state. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic AgentEndpoint.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"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic AgentEndpoint.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"}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic AgentEndpoint.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.Each key is predefined and scoped to a namespace. Example: {"orcl-cloud": {"free-tier-retained": "true"}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic AgentEndpoint build() 
 - 
copypublic AgentEndpoint.Builder copy(AgentEndpoint model) 
 
- 
 
-