Class InputFilteringConfig
java.lang.Object
com.sap.ai.sdk.orchestration.model.InputFilteringConfig
InputFilteringConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for InputFilteringConfig. -
Method Summary
Modifier and TypeMethodDescriptionaddFiltersItem(InputFilterConfig filtersItem) Add one filters instance to thisInputFilteringConfig.static InputFilteringConfig.Buildercreate()Create a type-safe, fluent-api builder object to construct a newInputFilteringConfiginstance with all required arguments.booleanfilters(List<InputFilterConfig> filters) Set the filters of thisInputFilteringConfiginstance and return the same instance.getCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theInputFilteringConfig.Configuration for content filtering services that should be used for the given filtering step (input filtering).inthashCode()voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisInputFilteringConfiginstance.voidsetFilters(List<InputFilterConfig> filters) Set the filters of thisInputFilteringConfiginstance.toMap()Get the value of all properties of thisInputFilteringConfiginstance including unrecognized properties.toString()
-
Constructor Details
-
InputFilteringConfig
protected InputFilteringConfig()Default constructor for InputFilteringConfig.
-
-
Method Details
-
filters
Set the filters of thisInputFilteringConfiginstance and return the same instance.- Parameters:
filters- Configuration for content filtering services that should be used for the given filtering step (input filtering).- Returns:
- The same instance of this
InputFilteringConfigclass
-
addFiltersItem
Add one filters instance to thisInputFilteringConfig.- Parameters:
filtersItem- The filters that should be added- Returns:
- The same instance of type
InputFilteringConfig
-
getFilters
Configuration for content filtering services that should be used for the given filtering step (input filtering).- Returns:
- filters The filters of this
InputFilteringConfiginstance.
-
setFilters
Set the filters of thisInputFilteringConfiginstance.- Parameters:
filters- Configuration for content filtering services that should be used for the given filtering step (input filtering).
-
getCustomFieldNames
Get the names of the unrecognizable properties of theInputFilteringConfig.- 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 thisInputFilteringConfiginstance.- 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 thisInputFilteringConfiginstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisInputFilteringConfiginstance. 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 newInputFilteringConfiginstance with all required arguments.
-
toMap()instead.