Class ProviderProfile.OCIGenAIProviderProfile.Builder
java.lang.Object
com.oracle.database.selectai.model.ProviderProfile.Builder<ProviderProfile.OCIGenAIProviderProfile.Builder>
com.oracle.database.selectai.model.ProviderProfile.OCIGenAIProviderProfile.Builder
- Enclosing class:
ProviderProfile.OCIGenAIProviderProfile
public static class ProviderProfile.OCIGenAIProviderProfile.Builder
extends ProviderProfile.Builder<ProviderProfile.OCIGenAIProviderProfile.Builder>
Builder for
ProviderProfile.OCIGenAIProviderProfile.-
Field Summary
Fields inherited from class com.oracle.database.selectai.model.ProviderProfile.Builder
embeddingModel, model, providerEndpoint, providerName, region -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the OCI Generative AI provider profile.ociApiFormat(OciApiFormat value) Sets the OCI API format.ociApiFormat(String value) Sets the OCI API format.ociCompartmentId(String value) Sets the OCI compartment OCID.ociEndpointId(String value) Sets the OCI dedicated endpoint OCID.ociRuntimeType(String value) Sets the OCI runtime type.self()Returns the concrete builder instance for fluent chaining.Methods inherited from class com.oracle.database.selectai.model.ProviderProfile.Builder
embeddingModel, model, providerEndpoint, providerName, region
-
Constructor Details
-
Builder
public Builder()Creates an empty OCI Generative AI provider profile builder.
-
-
Method Details
-
self
Returns the concrete builder instance for fluent chaining.- Specified by:
selfin classProviderProfile.Builder<ProviderProfile.OCIGenAIProviderProfile.Builder>- Returns:
- concrete builder instance
-
ociApiFormat
Sets the OCI API format.- Parameters:
value- OCI API format- Returns:
- this builder instance
-
ociApiFormat
Sets the OCI API format.- Parameters:
value- OCI API format- Returns:
- this builder instance
-
ociCompartmentId
Sets the OCI compartment OCID.- Parameters:
value- compartment OCID- Returns:
- this builder instance
-
ociEndpointId
Sets the OCI dedicated endpoint OCID.- Parameters:
value- endpoint OCID- Returns:
- this builder instance
-
ociRuntimeType
Sets the OCI runtime type.- Parameters:
value- runtime type- Returns:
- this builder instance
-
build
Builds the OCI Generative AI provider profile.- Returns:
- OCI Generative AI provider profile
-