Package com.sap.ai.sdk.grounding.model
Class BoostingScoringConfigurationMetadataInner
java.lang.Object
com.sap.ai.sdk.grounding.model.BoostingScoringConfigurationMetadataInner
BoostingScoringConfigurationMetadataInner
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class.static enumGets or Sets scope -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for BoostingScoringConfigurationMetadataInner. -
Method Summary
Modifier and TypeMethodDescriptionaddValueItem(String valueItem) Add one value instance to thisBoostingScoringConfigurationMetadataInner.create()Create a type-safe, fluent-api builder object to construct a newBoostingScoringConfigurationMetadataInnerinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theBoostingScoringConfigurationMetadataInner.getKey()Get keygetScope()Get scopegetValue()Get valueGet weightinthashCode()Set the key of thisBoostingScoringConfigurationMetadataInnerinstance and return the same instance.Set the scope of thisBoostingScoringConfigurationMetadataInnerinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisBoostingScoringConfigurationMetadataInnerinstance.voidSet the key of thisBoostingScoringConfigurationMetadataInnerinstance.voidSet the scope of thisBoostingScoringConfigurationMetadataInnerinstance.voidSet the value of thisBoostingScoringConfigurationMetadataInnerinstance.voidSet the weight of thisBoostingScoringConfigurationMetadataInnerinstance.toMap()Get the value of all properties of thisBoostingScoringConfigurationMetadataInnerinstance including unrecognized properties.toString()Set the value of thisBoostingScoringConfigurationMetadataInnerinstance and return the same instance.Set the weight of thisBoostingScoringConfigurationMetadataInnerinstance and return the same instance.
-
Constructor Details
-
BoostingScoringConfigurationMetadataInner
protected BoostingScoringConfigurationMetadataInner()Default constructor for BoostingScoringConfigurationMetadataInner.
-
-
Method Details
-
key
Set the key of thisBoostingScoringConfigurationMetadataInnerinstance and return the same instance.- Parameters:
key- The key of thisBoostingScoringConfigurationMetadataInner- Returns:
- The same instance of this
BoostingScoringConfigurationMetadataInnerclass
-
getKey
Get key- Returns:
- key The key of this
BoostingScoringConfigurationMetadataInnerinstance.
-
setKey
Set the key of thisBoostingScoringConfigurationMetadataInnerinstance.- Parameters:
key- The key of thisBoostingScoringConfigurationMetadataInner
-
value
Set the value of thisBoostingScoringConfigurationMetadataInnerinstance and return the same instance.- Parameters:
value- The value of thisBoostingScoringConfigurationMetadataInner- Returns:
- The same instance of this
BoostingScoringConfigurationMetadataInnerclass
-
addValueItem
Add one value instance to thisBoostingScoringConfigurationMetadataInner.- Parameters:
valueItem- The value that should be added- Returns:
- The same instance of type
BoostingScoringConfigurationMetadataInner
-
getValue
Get value- Returns:
- value The value of this
BoostingScoringConfigurationMetadataInnerinstance.
-
setValue
Set the value of thisBoostingScoringConfigurationMetadataInnerinstance.- Parameters:
value- The value of thisBoostingScoringConfigurationMetadataInner
-
scope
@Nonnull public BoostingScoringConfigurationMetadataInner scope(@Nullable BoostingScoringConfigurationMetadataInner.ScopeEnum scope) Set the scope of thisBoostingScoringConfigurationMetadataInnerinstance and return the same instance.- Parameters:
scope- The scope of thisBoostingScoringConfigurationMetadataInner- Returns:
- The same instance of this
BoostingScoringConfigurationMetadataInnerclass
-
getScope
Get scope- Returns:
- scope The scope of this
BoostingScoringConfigurationMetadataInnerinstance.
-
setScope
Set the scope of thisBoostingScoringConfigurationMetadataInnerinstance.- Parameters:
scope- The scope of thisBoostingScoringConfigurationMetadataInner
-
weight
Set the weight of thisBoostingScoringConfigurationMetadataInnerinstance and return the same instance.- Parameters:
weight- The weight of thisBoostingScoringConfigurationMetadataInner- Returns:
- The same instance of this
BoostingScoringConfigurationMetadataInnerclass
-
getWeight
Get weight- Returns:
- weight The weight of this
BoostingScoringConfigurationMetadataInnerinstance.
-
setWeight
Set the weight of thisBoostingScoringConfigurationMetadataInnerinstance.- Parameters:
weight- The weight of thisBoostingScoringConfigurationMetadataInner
-
getCustomFieldNames
Get the names of the unrecognizable properties of theBoostingScoringConfigurationMetadataInner.- 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 thisBoostingScoringConfigurationMetadataInnerinstance.- 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 thisBoostingScoringConfigurationMetadataInnerinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisBoostingScoringConfigurationMetadataInnerinstance. 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 newBoostingScoringConfigurationMetadataInnerinstance with all required arguments.
-
toMap()instead.