public static class UpdateEndpointDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateEndpointDetails.Builder |
alias(String alias)
Unique name across user tenancy in a region to identify an endpoint to be used for
inferencing.
|
UpdateEndpointDetails |
build() |
UpdateEndpointDetails.Builder |
copy(UpdateEndpointDetails model) |
UpdateEndpointDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
UpdateEndpointDetails.Builder |
description(String description)
A short description of the endpoint.
|
UpdateEndpointDetails.Builder |
displayName(String displayName)
A user-friendly display name for the resource.
|
UpdateEndpointDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
UpdateEndpointDetails.Builder |
inferenceUnits(Integer inferenceUnits)
Number of replicas required for this endpoint.
|
UpdateEndpointDetails.Builder |
modelId(String modelId)
The OCID
of the model to associate with the endpoint.
|
public UpdateEndpointDetails.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 UpdateEndpointDetails.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 UpdateEndpointDetails.Builder description(String description)
A short description of the endpoint.
description
- the value to setpublic UpdateEndpointDetails.Builder modelId(String modelId)
The OCID of the model to associate with the endpoint.
modelId
- the value to setpublic UpdateEndpointDetails.Builder inferenceUnits(Integer inferenceUnits)
Number of replicas required for this endpoint. This will be optional parameter.
inferenceUnits
- the value to setpublic UpdateEndpointDetails.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 UpdateEndpointDetails.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 UpdateEndpointDetails build()
public UpdateEndpointDetails.Builder copy(UpdateEndpointDetails model)
Copyright © 2016–2024. All rights reserved.