Class OrchestrationConfig
java.lang.Object
com.sap.ai.sdk.orchestration.model.OrchestrationConfig
OrchestrationConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for OrchestrationConfig. -
Method Summary
Modifier and TypeMethodDescriptionstatic OrchestrationConfig.Buildercreate()Create a type-safe, fluent-api builder object to construct a newOrchestrationConfiginstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theOrchestrationConfig.Get modulesGet streaminthashCode()modules(OrchestrationConfigModules modules) Set the modules of thisOrchestrationConfiginstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisOrchestrationConfiginstance.voidsetModules(OrchestrationConfigModules modules) Set the modules of thisOrchestrationConfiginstance.voidsetStream(GlobalStreamOptions stream) Set the stream of thisOrchestrationConfiginstance.stream(GlobalStreamOptions stream) Set the stream of thisOrchestrationConfiginstance and return the same instance.toMap()Get the value of all properties of thisOrchestrationConfiginstance including unrecognized properties.toString()
-
Constructor Details
-
OrchestrationConfig
protected OrchestrationConfig()Default constructor for OrchestrationConfig.
-
-
Method Details
-
modules
Set the modules of thisOrchestrationConfiginstance and return the same instance.- Parameters:
modules- The modules of thisOrchestrationConfig- Returns:
- The same instance of this
OrchestrationConfigclass
-
getModules
Get modules- Returns:
- modules The modules of this
OrchestrationConfiginstance.
-
setModules
Set the modules of thisOrchestrationConfiginstance.- Parameters:
modules- The modules of thisOrchestrationConfig
-
stream
Set the stream of thisOrchestrationConfiginstance and return the same instance.- Parameters:
stream- The stream of thisOrchestrationConfig- Returns:
- The same instance of this
OrchestrationConfigclass
-
getStream
Get stream- Returns:
- stream The stream of this
OrchestrationConfiginstance.
-
setStream
Set the stream of thisOrchestrationConfiginstance.- Parameters:
stream- The stream of thisOrchestrationConfig
-
getCustomFieldNames
Get the names of the unrecognizable properties of theOrchestrationConfig.- 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 thisOrchestrationConfiginstance.- 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 thisOrchestrationConfiginstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisOrchestrationConfiginstance. 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 type-safe, fluent-api builder object to construct a newOrchestrationConfiginstance with all required arguments.
-
toMap()instead.