public static class EndpointSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EndpointSummary.Builder |
alias(String alias)
Unique name across user tenancy in a region to identify an endpoint to be used for
inferencing.
|
EndpointSummary |
build() |
EndpointSummary.Builder |
compartmentId(String compartmentId)
The OCID for
the Endpoint compartment.
|
EndpointSummary.Builder |
computeType(EndpointSummary.ComputeType computeType)
Compute infra type for endpoint.
|
EndpointSummary.Builder |
copy(EndpointSummary model) |
EndpointSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
EndpointSummary.Builder |
description(String description)
A short description of the endpoint.
|
EndpointSummary.Builder |
displayName(String displayName)
A user-friendly display name for the resource.
|
EndpointSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
EndpointSummary.Builder |
id(String id)
Unique identifier endpoint OCID of an endpoint that is immutable on creation.
|
EndpointSummary.Builder |
inferenceUnits(Integer inferenceUnits)
Number of replicas required for this endpoint.
|
EndpointSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
EndpointSummary.Builder |
lifecycleState(Endpoint.LifecycleState lifecycleState)
The state of the endpoint.
|
EndpointSummary.Builder |
modelId(String modelId)
The OCID
of the model to associate with the endpoint.
|
EndpointSummary.Builder |
projectId(String projectId)
The OCID
of the project to associate with the endpoint.
|
EndpointSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
EndpointSummary.Builder |
timeCreated(Date timeCreated)
The time the the endpoint was created.
|
public EndpointSummary.Builder id(String id)
Unique identifier endpoint OCID of an endpoint that is immutable on creation.
id
- the value to setpublic EndpointSummary.Builder alias(String alias)
Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.
alias
- the value to setpublic EndpointSummary.Builder computeType(EndpointSummary.ComputeType computeType)
Compute infra type for endpoint.
computeType
- the value to setpublic EndpointSummary.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 EndpointSummary.Builder compartmentId(String compartmentId)
The OCID for the Endpoint compartment.
compartmentId
- the value to setpublic EndpointSummary.Builder projectId(String projectId)
The OCID of the project to associate with the endpoint.
projectId
- the value to setpublic EndpointSummary.Builder description(String description)
A short description of the endpoint.
description
- the value to setpublic EndpointSummary.Builder timeCreated(Date timeCreated)
The time the the endpoint was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic EndpointSummary.Builder lifecycleState(Endpoint.LifecycleState lifecycleState)
The state of the endpoint.
lifecycleState
- the value to setpublic EndpointSummary.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 EndpointSummary.Builder inferenceUnits(Integer inferenceUnits)
Number of replicas required for this endpoint. This will be optional parameter. Default will be 1.
inferenceUnits
- the value to setpublic EndpointSummary.Builder modelId(String modelId)
The OCID of the model to associate with the endpoint.
modelId
- the value to setpublic EndpointSummary.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 EndpointSummary.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 EndpointSummary.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 EndpointSummary build()
public EndpointSummary.Builder copy(EndpointSummary model)
Copyright © 2016–2024. All rights reserved.