Class RuntimeOrchestrationConfigFile
java.lang.Object
com.sap.ai.sdk.prompt.registry.model.RuntimeOrchestrationConfigFile
RuntimeOrchestrationConfigFile
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for RuntimeOrchestrationConfigFile. -
Method Summary
Modifier and TypeMethodDescriptionapiVersion(String apiVersion) Set the apiVersion of thisRuntimeOrchestrationConfigFileinstance and return the same instance.create()Create a newRuntimeOrchestrationConfigFileinstance.booleanGet apiVersiongetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theRuntimeOrchestrationConfigFile.getKind()Get kindGet metadatagetSpec()Get specinthashCode()Set the kind of thisRuntimeOrchestrationConfigFileinstance and return the same instance.metadata(RuntimePromptTemplateFileMetadata metadata) Set the metadata of thisRuntimeOrchestrationConfigFileinstance and return the same instance.voidsetApiVersion(String apiVersion) Set the apiVersion of thisRuntimeOrchestrationConfigFileinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisRuntimeOrchestrationConfigFileinstance.voidSet the kind of thisRuntimeOrchestrationConfigFileinstance.voidsetMetadata(RuntimePromptTemplateFileMetadata metadata) Set the metadata of thisRuntimeOrchestrationConfigFileinstance.voidsetSpec(OrchestrationConfig spec) Set the spec of thisRuntimeOrchestrationConfigFileinstance.spec(OrchestrationConfig spec) Set the spec of thisRuntimeOrchestrationConfigFileinstance and return the same instance.toMap()Get the value of all properties of thisRuntimeOrchestrationConfigFileinstance including unrecognized properties.toString()
-
Constructor Details
-
RuntimeOrchestrationConfigFile
protected RuntimeOrchestrationConfigFile()Default constructor for RuntimeOrchestrationConfigFile.
-
-
Method Details
-
apiVersion
Set the apiVersion of thisRuntimeOrchestrationConfigFileinstance and return the same instance.- Parameters:
apiVersion- The apiVersion of thisRuntimeOrchestrationConfigFile- Returns:
- The same instance of this
RuntimeOrchestrationConfigFileclass
-
getApiVersion
Get apiVersion- Returns:
- apiVersion The apiVersion of this
RuntimeOrchestrationConfigFileinstance.
-
setApiVersion
Set the apiVersion of thisRuntimeOrchestrationConfigFileinstance.- Parameters:
apiVersion- The apiVersion of thisRuntimeOrchestrationConfigFile
-
kind
Set the kind of thisRuntimeOrchestrationConfigFileinstance and return the same instance.- Parameters:
kind- The kind of thisRuntimeOrchestrationConfigFile- Returns:
- The same instance of this
RuntimeOrchestrationConfigFileclass
-
getKind
Get kind- Returns:
- kind The kind of this
RuntimeOrchestrationConfigFileinstance.
-
setKind
Set the kind of thisRuntimeOrchestrationConfigFileinstance.- Parameters:
kind- The kind of thisRuntimeOrchestrationConfigFile
-
metadata
@Nonnull public RuntimeOrchestrationConfigFile metadata(@Nullable RuntimePromptTemplateFileMetadata metadata) Set the metadata of thisRuntimeOrchestrationConfigFileinstance and return the same instance.- Parameters:
metadata- The metadata of thisRuntimeOrchestrationConfigFile- Returns:
- The same instance of this
RuntimeOrchestrationConfigFileclass
-
getMetadata
Get metadata- Returns:
- metadata The metadata of this
RuntimeOrchestrationConfigFileinstance.
-
setMetadata
Set the metadata of thisRuntimeOrchestrationConfigFileinstance.- Parameters:
metadata- The metadata of thisRuntimeOrchestrationConfigFile
-
spec
Set the spec of thisRuntimeOrchestrationConfigFileinstance and return the same instance.- Parameters:
spec- The spec of thisRuntimeOrchestrationConfigFile- Returns:
- The same instance of this
RuntimeOrchestrationConfigFileclass
-
getSpec
Get spec- Returns:
- spec The spec of this
RuntimeOrchestrationConfigFileinstance.
-
setSpec
Set the spec of thisRuntimeOrchestrationConfigFileinstance.- Parameters:
spec- The spec of thisRuntimeOrchestrationConfigFile
-
getCustomFieldNames
Get the names of the unrecognizable properties of theRuntimeOrchestrationConfigFile.- 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 thisRuntimeOrchestrationConfigFileinstance.- 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 thisRuntimeOrchestrationConfigFileinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisRuntimeOrchestrationConfigFileinstance. 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 newRuntimeOrchestrationConfigFileinstance. No arguments are required.
-
toMap()instead.