Class Availability.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeai.model.Availability.Builder
-
- Enclosing class:
- Availability
public static class Availability.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Availabilitybuild()Availability.Buildercopy(Availability model)Availability.Builderrealm(String realm)The cloud realm in which the model exists.Availability.Builderregion(String region)The specific geographic region where the model is deployed.Availability.BuilderservingModes(List<ServingMode> servingModes)The supported deployment modes for the model in this region (e.g., on-demand or dedicated).Availability.BuildersupportedReplacements(List<String> supportedReplacements)A list of model identifiers that are recommended as replacements after this model is retired.Availability.BuildertimeDedicatedRetired(Date timeDedicatedRetired)The timestamp when dedicated deployments of the model will be fully retired.Availability.BuildertimeDeprecated(Date timeDeprecated)The timestamp when the model is marked as deprecated and is no longer recommended for use.Availability.BuildertimeOnDemandRetired(Date timeOnDemandRetired)The timestamp when the model will no longer be available for on-demand (shared) usage.
-
-
-
Method Detail
-
realm
public Availability.Builder realm(String realm)
The cloud realm in which the model exists.- Parameters:
realm- the value to set- Returns:
- this builder
-
region
public Availability.Builder region(String region)
The specific geographic region where the model is deployed.- Parameters:
region- the value to set- Returns:
- this builder
-
servingModes
public Availability.Builder servingModes(List<ServingMode> servingModes)
The supported deployment modes for the model in this region (e.g., on-demand or dedicated).- Parameters:
servingModes- the value to set- Returns:
- this builder
-
timeDeprecated
public Availability.Builder timeDeprecated(Date timeDeprecated)
The timestamp when the model is marked as deprecated and is no longer recommended for use.- Parameters:
timeDeprecated- the value to set- Returns:
- this builder
-
timeOnDemandRetired
public Availability.Builder timeOnDemandRetired(Date timeOnDemandRetired)
The timestamp when the model will no longer be available for on-demand (shared) usage.- Parameters:
timeOnDemandRetired- the value to set- Returns:
- this builder
-
timeDedicatedRetired
public Availability.Builder timeDedicatedRetired(Date timeDedicatedRetired)
The timestamp when dedicated deployments of the model will be fully retired.- Parameters:
timeDedicatedRetired- the value to set- Returns:
- this builder
-
supportedReplacements
public Availability.Builder supportedReplacements(List<String> supportedReplacements)
A list of model identifiers that are recommended as replacements after this model is retired.- Parameters:
supportedReplacements- the value to set- Returns:
- this builder
-
build
public Availability build()
-
copy
public Availability.Builder copy(Availability model)
-
-