Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Endpoint |
build() |
Endpoint.Builder |
compartmentId(String compartmentId)
The compartment OCID to create the endpoint in.
|
Endpoint.Builder |
contentModerationConfig(ContentModerationConfig contentModerationConfig) |
Endpoint.Builder |
copy(Endpoint model) |
Endpoint.Builder |
dedicatedAiClusterId(String dedicatedAiClusterId)
The OCID of the dedicated AI cluster on which the model will be deployed to.
|
Endpoint.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Endpoint.Builder |
description(String description)
An optional description of the endpoint.
|
Endpoint.Builder |
displayName(String displayName)
A user-friendly name.
|
Endpoint.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
Endpoint.Builder |
id(String id)
An OCID that uniquely identifies this endpoint resource.
|
Endpoint.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state of the endpoint in more detail that can provide
actionable information.
|
Endpoint.Builder |
lifecycleState(Endpoint.LifecycleState lifecycleState)
The current state of the endpoint.
|
Endpoint.Builder |
modelId(String modelId)
The OCID of the model that’s used to create this endpoint.
|
Endpoint.Builder |
previousState(Endpoint previousState) |
Endpoint.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
Endpoint.Builder |
timeCreated(Date timeCreated)
The date and time that the endpoint was created in the format of an RFC3339 datetime
string.
|
Endpoint.Builder |
timeUpdated(Date timeUpdated)
The date and time that the endpoint was updated in the format of an RFC3339 datetime
string.
|
public Endpoint.Builder id(String id)
An OCID that uniquely identifies this endpoint resource.
id
- the value to setpublic Endpoint.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable.
displayName
- the value to setpublic Endpoint.Builder description(String description)
An optional description of the endpoint.
description
- the value to setpublic Endpoint.Builder modelId(String modelId)
The OCID of the model that’s used to create this endpoint.
modelId
- the value to setpublic Endpoint.Builder compartmentId(String compartmentId)
The compartment OCID to create the endpoint in.
compartmentId
- the value to setpublic Endpoint.Builder dedicatedAiClusterId(String dedicatedAiClusterId)
The OCID of the dedicated AI cluster on which the model will be deployed to.
dedicatedAiClusterId
- the value to setpublic Endpoint.Builder timeCreated(Date timeCreated)
The date and time that the endpoint was created in the format of an RFC3339 datetime string.
timeCreated
- the value to setpublic Endpoint.Builder timeUpdated(Date timeUpdated)
The date and time that the endpoint was updated in the format of an RFC3339 datetime string.
timeUpdated
- the value to setpublic Endpoint.Builder lifecycleState(Endpoint.LifecycleState lifecycleState)
The current state of the endpoint.
lifecycleState
- the value to setpublic Endpoint.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state of the endpoint in more detail that can provide actionable information.
lifecycleDetails
- the value to setpublic Endpoint.Builder contentModerationConfig(ContentModerationConfig contentModerationConfig)
public Endpoint.Builder previousState(Endpoint previousState)
public Endpoint.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 Endpoint.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 Endpoint.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"}}
systemTags
- the value to setpublic Endpoint build()
public Endpoint.Builder copy(Endpoint model)
Copyright © 2016–2024. All rights reserved.