Class LlamaGuard38bFilterConfig
java.lang.Object
com.sap.ai.sdk.orchestration.model.LlamaGuard38bFilterConfig
- All Implemented Interfaces:
InputFilterConfig,OutputFilterConfig
public class LlamaGuard38bFilterConfig
extends Object
implements InputFilterConfig, OutputFilterConfig
LlamaGuard38bFilterConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class.static enumName of the filter provider type -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for LlamaGuard38bFilterConfig. -
Method Summary
Modifier and TypeMethodDescriptionconfig(LlamaGuard38b config) Set the config of thisLlamaGuard38bFilterConfiginstance and return the same instance.create()Create a type-safe, fluent-api builder object to construct a newLlamaGuard38bFilterConfiginstance with all required arguments.booleanGet configgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theLlamaGuard38bFilterConfig.getType()Name of the filter provider typeinthashCode()voidsetConfig(LlamaGuard38b config) Set the config of thisLlamaGuard38bFilterConfiginstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisLlamaGuard38bFilterConfiginstance.voidSet the type of thisLlamaGuard38bFilterConfiginstance.toMap()Get the value of all properties of thisLlamaGuard38bFilterConfiginstance including unrecognized properties.toString()Set the type of thisLlamaGuard38bFilterConfiginstance and return the same instance.
-
Constructor Details
-
LlamaGuard38bFilterConfig
protected LlamaGuard38bFilterConfig()Default constructor for LlamaGuard38bFilterConfig.
-
-
Method Details
-
type
Set the type of thisLlamaGuard38bFilterConfiginstance and return the same instance.- Parameters:
type- Name of the filter provider type- Returns:
- The same instance of this
LlamaGuard38bFilterConfigclass
-
getType
Name of the filter provider type- Returns:
- type The type of this
LlamaGuard38bFilterConfiginstance.
-
setType
Set the type of thisLlamaGuard38bFilterConfiginstance.- Parameters:
type- Name of the filter provider type
-
config
Set the config of thisLlamaGuard38bFilterConfiginstance and return the same instance.- Parameters:
config- The config of thisLlamaGuard38bFilterConfig- Returns:
- The same instance of this
LlamaGuard38bFilterConfigclass
-
getConfig
Get config- Returns:
- config The config of this
LlamaGuard38bFilterConfiginstance.
-
setConfig
Set the config of thisLlamaGuard38bFilterConfiginstance.- Parameters:
config- The config of thisLlamaGuard38bFilterConfig
-
getCustomFieldNames
Get the names of the unrecognizable properties of theLlamaGuard38bFilterConfig.- 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 thisLlamaGuard38bFilterConfiginstance.- 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 thisLlamaGuard38bFilterConfiginstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisLlamaGuard38bFilterConfiginstance. 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 newLlamaGuard38bFilterConfiginstance with all required arguments.
-
toMap()instead.