public static class EndpointSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public EndpointSummary.Builder id(String id)
An OCID that uniquely identifies this endpoint resource.
id
- the value to setpublic EndpointSummary.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable.
displayName
- the value to setpublic EndpointSummary.Builder description(String description)
An optional description of the endpoint.
description
- the value to setpublic EndpointSummary.Builder modelId(String modelId)
The OCID of the model that’s used to create this endpoint.
modelId
- the value to setpublic EndpointSummary.Builder compartmentId(String compartmentId)
The compartment OCID to create the endpoint in.
compartmentId
- the value to setpublic EndpointSummary.Builder dedicatedAiClusterId(String dedicatedAiClusterId)
The OCID of the dedicated AI cluster on which a model will be deployed to.
dedicatedAiClusterId
- the value to setpublic EndpointSummary.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 EndpointSummary.Builder timeUpdated(Date timeUpdated)
The date and time the endpoint was updated in the format of n RFC3339 datetime string.
timeUpdated
- the value to setpublic EndpointSummary.Builder lifecycleState(Endpoint.LifecycleState lifecycleState)
The current state of the endpoint.
Allowed values are: - ACTIVE - CREATING - UPDATING - DELETING - DELETED - FAILED
lifecycleState
- the value to setpublic EndpointSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state with detail that can provide actionable information.
lifecycleDetails
- the value to setpublic EndpointSummary.Builder contentModerationConfig(ContentModerationConfig contentModerationConfig)
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"}
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. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic EndpointSummary build()
public EndpointSummary.Builder copy(EndpointSummary model)
Copyright © 2016–2024. All rights reserved.