Class MaskingModuleConfigMaskingProviders
java.lang.Object
com.sap.ai.sdk.prompt.registry.model.MaskingModuleConfigMaskingProviders
- All Implemented Interfaces:
MaskingModuleConfig
MaskingModuleConfigMaskingProviders
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for MaskingModuleConfigMaskingProviders. -
Method Summary
Modifier and TypeMethodDescriptionaddMaskingProvidersItem(DPIConfig maskingProvidersItem) Add one maskingProviders instance to thisMaskingModuleConfigMaskingProviders.create()Create a type-safe, fluent-api builder object to construct a newMaskingModuleConfigMaskingProvidersinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theMaskingModuleConfigMaskingProviders.Deprecated.inthashCode()maskingProviders(List<DPIConfig> maskingProviders) Set the maskingProviders of thisMaskingModuleConfigMaskingProvidersinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisMaskingModuleConfigMaskingProvidersinstance.voidsetMaskingProviders(List<DPIConfig> maskingProviders) Set the maskingProviders of thisMaskingModuleConfigMaskingProvidersinstance.toMap()Get the value of all properties of thisMaskingModuleConfigMaskingProvidersinstance including unrecognized properties.toString()
-
Constructor Details
-
MaskingModuleConfigMaskingProviders
protected MaskingModuleConfigMaskingProviders()Default constructor for MaskingModuleConfigMaskingProviders.
-
-
Method Details
-
maskingProviders
@Nonnull public MaskingModuleConfigMaskingProviders maskingProviders(@Nonnull List<DPIConfig> maskingProviders) Set the maskingProviders of thisMaskingModuleConfigMaskingProvidersinstance and return the same instance.- Parameters:
maskingProviders- List of masking service providers. **DEPRECATED**: will be removed Sept 15, 2026. Use `providers` property instead.- Returns:
- The same instance of this
MaskingModuleConfigMaskingProvidersclass
-
addMaskingProvidersItem
@Nonnull public MaskingModuleConfigMaskingProviders addMaskingProvidersItem(@Nonnull DPIConfig maskingProvidersItem) Add one maskingProviders instance to thisMaskingModuleConfigMaskingProviders.- Parameters:
maskingProvidersItem- The maskingProviders that should be added- Returns:
- The same instance of type
MaskingModuleConfigMaskingProviders
-
getMaskingProviders
Deprecated.List of masking service providers. **DEPRECATED**: will be removed Sept 15, 2026. Use `providers` property instead.- Returns:
- maskingProviders The maskingProviders of this
MaskingModuleConfigMaskingProvidersinstance.
-
setMaskingProviders
Set the maskingProviders of thisMaskingModuleConfigMaskingProvidersinstance.- Parameters:
maskingProviders- List of masking service providers. **DEPRECATED**: will be removed Sept 15, 2026. Use `providers` property instead.
-
getCustomFieldNames
Get the names of the unrecognizable properties of theMaskingModuleConfigMaskingProviders.- 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 thisMaskingModuleConfigMaskingProvidersinstance.- 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 thisMaskingModuleConfigMaskingProvidersinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisMaskingModuleConfigMaskingProvidersinstance. 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 newMaskingModuleConfigMaskingProvidersinstance with all required arguments.
-
toMap()instead.