Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Endpoint |
build() |
Endpoint.Builder |
compartmentId(String compartmentId)
The OCID for
the endpoint compartment.
|
Endpoint.Builder |
copy(Endpoint model) |
Endpoint.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Endpoint.Builder |
description(String description)
A short description of the endpoint.
|
Endpoint.Builder |
displayName(String displayName)
A user-friendly display name for the resource.
|
Endpoint.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
Endpoint.Builder |
id(String id)
Unique identifier endpoint OCID of an endpoint that is immutable on creation.
|
Endpoint.Builder |
inferenceUnits(Integer inferenceUnits)
Number of replicas required for this endpoint.
|
Endpoint.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
Endpoint.Builder |
lifecycleState(Endpoint.LifecycleState lifecycleState)
The state of the endpoint.
|
Endpoint.Builder |
modelId(String modelId)
The OCID
of the model to associate with the endpoint.
|
Endpoint.Builder |
projectId(String projectId)
The OCID
of the project to associate with the Endpoint.
|
Endpoint.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
Endpoint.Builder |
timeCreated(Date timeCreated)
The time the the endpoint was created.
|
Endpoint.Builder |
timeUpdated(Date timeUpdated)
The time the endpoint was updated.
|
public Endpoint.Builder id(String id)
Unique identifier endpoint OCID of an endpoint that is immutable on creation.
id
- the value to setpublic Endpoint.Builder displayName(String displayName)
A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information.
displayName
- the value to setpublic Endpoint.Builder compartmentId(String compartmentId)
The OCID for the endpoint compartment.
compartmentId
- the value to setpublic Endpoint.Builder projectId(String projectId)
The OCID of the project to associate with the Endpoint.
projectId
- the value to setpublic Endpoint.Builder description(String description)
A short description of the endpoint.
description
- the value to setpublic Endpoint.Builder timeCreated(Date timeCreated)
The time the the endpoint was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic Endpoint.Builder timeUpdated(Date timeUpdated)
The time the endpoint was updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic Endpoint.Builder lifecycleState(Endpoint.LifecycleState lifecycleState)
The state of the endpoint.
lifecycleState
- the value to setpublic Endpoint.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state.
lifecycleDetails
- the value to setpublic Endpoint.Builder inferenceUnits(Integer inferenceUnits)
Number of replicas required for this endpoint.
inferenceUnits
- the value to setpublic Endpoint.Builder modelId(String modelId)
The OCID of the model to associate with the endpoint.
modelId
- the value to setpublic Endpoint.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
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.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic Endpoint.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. 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.