Class EndpointSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeai.model.EndpointSummary.Builder
-
- Enclosing class:
- EndpointSummary
public static class EndpointSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointSummary
build()
EndpointSummary.Builder
compartmentId(String compartmentId)
The compartment OCID to create the endpoint in.EndpointSummary.Builder
contentModerationConfig(ContentModerationConfig contentModerationConfig)
EndpointSummary.Builder
copy(EndpointSummary model)
EndpointSummary.Builder
dedicatedAiClusterId(String dedicatedAiClusterId)
The OCID of the dedicated AI cluster on which a model will be deployed to.EndpointSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.EndpointSummary.Builder
description(String description)
An optional description of the endpoint.EndpointSummary.Builder
displayName(String displayName)
A user-friendly name.EndpointSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.EndpointSummary.Builder
id(String id)
An OCID that uniquely identifies this endpoint resource.EndpointSummary.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state with detail that can provide actionable information.EndpointSummary.Builder
lifecycleState(Endpoint.LifecycleState lifecycleState)
The current state of the endpoint.EndpointSummary.Builder
modelId(String modelId)
The OCID of the model that’s used to create this endpoint.EndpointSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.EndpointSummary.Builder
timeCreated(Date timeCreated)
The date and time that the endpoint was created in the format of an RFC3339 datetime string.EndpointSummary.Builder
timeUpdated(Date timeUpdated)
The date and time the endpoint was updated in the format of n RFC3339 datetime string.
-
-
-
Method Detail
-
id
public EndpointSummary.Builder id(String id)
An OCID that uniquely identifies this endpoint resource.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public EndpointSummary.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
-
description
public EndpointSummary.Builder description(String description)
An optional description of the endpoint.- Parameters:
description
- the value to set- Returns:
- this builder
-
modelId
public EndpointSummary.Builder modelId(String modelId)
The OCID of the model that’s used to create this endpoint.- Parameters:
modelId
- the value to set- Returns:
- this builder
-
compartmentId
public EndpointSummary.Builder compartmentId(String compartmentId)
The compartment OCID to create the endpoint in.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
dedicatedAiClusterId
public EndpointSummary.Builder dedicatedAiClusterId(String dedicatedAiClusterId)
The OCID of the dedicated AI cluster on which a model will be deployed to.- Parameters:
dedicatedAiClusterId
- the value to set- Returns:
- this builder
-
timeCreated
public EndpointSummary.Builder timeCreated(Date timeCreated)
The date and time that the endpoint was created in the format of an RFC3339 datetime string.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public EndpointSummary.Builder timeUpdated(Date timeUpdated)
The date and time the endpoint was updated in the format of n RFC3339 datetime string.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public EndpointSummary.Builder lifecycleState(Endpoint.LifecycleState lifecycleState)
The current state of the endpoint.Allowed values are: - ACTIVE - CREATING - UPDATING - DELETING - DELETED - FAILED
- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public EndpointSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state with detail that can provide actionable information.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
contentModerationConfig
public EndpointSummary.Builder contentModerationConfig(ContentModerationConfig contentModerationConfig)
-
freeformTags
public EndpointSummary.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
-
definedTags
public EndpointSummary.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
-
systemTags
public EndpointSummary.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
-
build
public EndpointSummary build()
-
copy
public EndpointSummary.Builder copy(EndpointSummary model)
-
-