Package com.sap.ai.sdk.grounding.model
Class MetadataConfigurationMetadata
java.lang.Object
com.sap.ai.sdk.grounding.model.MetadataConfigurationMetadata
MetadataConfigurationMetadata
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for MetadataConfigurationMetadata. -
Method Summary
Modifier and TypeMethodDescriptionaddDataRepositoryMetadataItem(MetaDataKeyValuePairStrict dataRepositoryMetadataItem) Add one dataRepositoryMetadata instance to thisMetadataConfigurationMetadata.create()Create a type-safe, fluent-api builder object to construct a newMetadataConfigurationMetadatainstance with all required arguments.dataRepositoryMetadata(List<MetaDataKeyValuePairStrict> dataRepositoryMetadata) Set the dataRepositoryMetadata of thisMetadataConfigurationMetadatainstance and return the same instance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theMetadataConfigurationMetadata.Get dataRepositoryMetadatainthashCode()voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisMetadataConfigurationMetadatainstance.voidsetDataRepositoryMetadata(List<MetaDataKeyValuePairStrict> dataRepositoryMetadata) Set the dataRepositoryMetadata of thisMetadataConfigurationMetadatainstance.toMap()Get the value of all properties of thisMetadataConfigurationMetadatainstance including unrecognized properties.toString()
-
Constructor Details
-
MetadataConfigurationMetadata
protected MetadataConfigurationMetadata()Default constructor for MetadataConfigurationMetadata.
-
-
Method Details
-
dataRepositoryMetadata
@Nonnull public MetadataConfigurationMetadata dataRepositoryMetadata(@Nonnull List<MetaDataKeyValuePairStrict> dataRepositoryMetadata) Set the dataRepositoryMetadata of thisMetadataConfigurationMetadatainstance and return the same instance.- Parameters:
dataRepositoryMetadata- The dataRepositoryMetadata of thisMetadataConfigurationMetadata- Returns:
- The same instance of this
MetadataConfigurationMetadataclass
-
addDataRepositoryMetadataItem
@Nonnull public MetadataConfigurationMetadata addDataRepositoryMetadataItem(@Nonnull MetaDataKeyValuePairStrict dataRepositoryMetadataItem) Add one dataRepositoryMetadata instance to thisMetadataConfigurationMetadata.- Parameters:
dataRepositoryMetadataItem- The dataRepositoryMetadata that should be added- Returns:
- The same instance of type
MetadataConfigurationMetadata
-
getDataRepositoryMetadata
Get dataRepositoryMetadata- Returns:
- dataRepositoryMetadata The dataRepositoryMetadata of this
MetadataConfigurationMetadatainstance.
-
setDataRepositoryMetadata
public void setDataRepositoryMetadata(@Nonnull List<MetaDataKeyValuePairStrict> dataRepositoryMetadata) Set the dataRepositoryMetadata of thisMetadataConfigurationMetadatainstance.- Parameters:
dataRepositoryMetadata- The dataRepositoryMetadata of thisMetadataConfigurationMetadata
-
getCustomFieldNames
Get the names of the unrecognizable properties of theMetadataConfigurationMetadata.- 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 thisMetadataConfigurationMetadatainstance.- 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 thisMetadataConfigurationMetadatainstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisMetadataConfigurationMetadatainstance. 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 newMetadataConfigurationMetadatainstance with all required arguments.
-
toMap()instead.