Class PartialOrchestrationConfig
java.lang.Object
com.sap.ai.sdk.orchestration.model.PartialOrchestrationConfig
Partial orchestration configuration for use with config_ref overrides. All fields are optional so
that only the parts that should be overridden need to be specified. The remaining configuration
is taken from the referenced orchestration config.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for PartialOrchestrationConfig. -
Method Summary
Modifier and TypeMethodDescriptionstatic PartialOrchestrationConfigcreate()Create a newPartialOrchestrationConfiginstance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of thePartialOrchestrationConfig.Get modulesGet streaminthashCode()modules(PartialModuleConfigs modules) Set the modules of thisPartialOrchestrationConfiginstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisPartialOrchestrationConfiginstance.voidsetModules(PartialModuleConfigs modules) Set the modules of thisPartialOrchestrationConfiginstance.voidsetStream(GlobalStreamOptions stream) Set the stream of thisPartialOrchestrationConfiginstance.stream(GlobalStreamOptions stream) Set the stream of thisPartialOrchestrationConfiginstance and return the same instance.toMap()Get the value of all properties of thisPartialOrchestrationConfiginstance including unrecognized properties.toString()
-
Constructor Details
-
PartialOrchestrationConfig
protected PartialOrchestrationConfig()Default constructor for PartialOrchestrationConfig.
-
-
Method Details
-
modules
Set the modules of thisPartialOrchestrationConfiginstance and return the same instance.- Parameters:
modules- The modules of thisPartialOrchestrationConfig- Returns:
- The same instance of this
PartialOrchestrationConfigclass
-
getModules
Get modules- Returns:
- modules The modules of this
PartialOrchestrationConfiginstance.
-
setModules
Set the modules of thisPartialOrchestrationConfiginstance.- Parameters:
modules- The modules of thisPartialOrchestrationConfig
-
stream
Set the stream of thisPartialOrchestrationConfiginstance and return the same instance.- Parameters:
stream- The stream of thisPartialOrchestrationConfig- Returns:
- The same instance of this
PartialOrchestrationConfigclass
-
getStream
Get stream- Returns:
- stream The stream of this
PartialOrchestrationConfiginstance.
-
setStream
Set the stream of thisPartialOrchestrationConfiginstance.- Parameters:
stream- The stream of thisPartialOrchestrationConfig
-
getCustomFieldNames
Get the names of the unrecognizable properties of thePartialOrchestrationConfig.- Returns:
- The set of properties names
-
getCustomField
@Nullable @Deprecated public Object getCustomField(@Nonnull String name) throws NoSuchElementException Deprecated.UsetoMap()instead.Get the value of an unrecognizable property of thisPartialOrchestrationConfiginstance.- Parameters:
name- The name of the property- Returns:
- The value of the property
- Throws:
NoSuchElementException- If no property with the given name could be found.
-
toMap
Get the value of all properties of thisPartialOrchestrationConfiginstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisPartialOrchestrationConfiginstance. If the map previously contained a mapping for the key, the old value is replaced by the specified value.- Parameters:
customFieldName- The name of the propertycustomFieldValue- The value of the property
-
equals
-
hashCode
public int hashCode() -
toString
-
create
Create a newPartialOrchestrationConfiginstance. No arguments are required.
-
toMap()instead.