Class SAPDocumentTranslationOutput
java.lang.Object
com.sap.ai.sdk.orchestration.model.SAPDocumentTranslationOutput
SAPDocumentTranslationOutput
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class.static enumConfiguration for `sap_document_translation` translation provider. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for SAPDocumentTranslationOutput. -
Method Summary
Modifier and TypeMethodDescriptionSet the config of thisSAPDocumentTranslationOutputinstance and return the same instance.create()Create a type-safe, fluent-api builder object to construct a newSAPDocumentTranslationOutputinstance with all required arguments.booleanGet configgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theSAPDocumentTranslationOutput.getType()Configuration for `sap_document_translation` translation provider.inthashCode()voidSet the config of thisSAPDocumentTranslationOutputinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisSAPDocumentTranslationOutputinstance.voidSet the type of thisSAPDocumentTranslationOutputinstance.toMap()Get the value of all properties of thisSAPDocumentTranslationOutputinstance including unrecognized properties.toString()Set the type of thisSAPDocumentTranslationOutputinstance and return the same instance.
-
Constructor Details
-
SAPDocumentTranslationOutput
protected SAPDocumentTranslationOutput()Default constructor for SAPDocumentTranslationOutput.
-
-
Method Details
-
type
@Nonnull public SAPDocumentTranslationOutput type(@Nonnull SAPDocumentTranslationOutput.TypeEnum type) Set the type of thisSAPDocumentTranslationOutputinstance and return the same instance.- Parameters:
type- Configuration for `sap_document_translation` translation provider.- Returns:
- The same instance of this
SAPDocumentTranslationOutputclass
-
getType
Configuration for `sap_document_translation` translation provider.- Returns:
- type The type of this
SAPDocumentTranslationOutputinstance.
-
setType
Set the type of thisSAPDocumentTranslationOutputinstance.- Parameters:
type- Configuration for `sap_document_translation` translation provider.
-
config
@Nonnull public SAPDocumentTranslationOutput config(@Nonnull SAPDocumentTranslationOutputConfig config) Set the config of thisSAPDocumentTranslationOutputinstance and return the same instance.- Parameters:
config- The config of thisSAPDocumentTranslationOutput- Returns:
- The same instance of this
SAPDocumentTranslationOutputclass
-
getConfig
Get config- Returns:
- config The config of this
SAPDocumentTranslationOutputinstance.
-
setConfig
Set the config of thisSAPDocumentTranslationOutputinstance.- Parameters:
config- The config of thisSAPDocumentTranslationOutput
-
getCustomFieldNames
Get the names of the unrecognizable properties of theSAPDocumentTranslationOutput.- 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 thisSAPDocumentTranslationOutputinstance.- 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 thisSAPDocumentTranslationOutputinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisSAPDocumentTranslationOutputinstance. 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 newSAPDocumentTranslationOutputinstance with all required arguments.
-
toMap()instead.