Package com.sap.ai.sdk.grounding.model
Class MetadataConfigurationRequest
java.lang.Object
com.sap.ai.sdk.grounding.model.MetadataConfigurationRequest
MetadataConfigurationRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class.static enumThe data repository type for which this configuration is being created. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for MetadataConfigurationRequest. -
Method Summary
Modifier and TypeMethodDescriptionaddIncludePathsItem(String includePathsItem) Add one includePaths instance to thisMetadataConfigurationRequest.addLabelsItem(MetadataConfigurationRequestLabelsInner labelsItem) Add one labels instance to thisMetadataConfigurationRequest.create()Create a type-safe, fluent-api builder object to construct a newMetadataConfigurationRequestinstance with all required arguments.dataRepositoryType(MetadataConfigurationRequest.DataRepositoryTypeEnum dataRepositoryType) Set the dataRepositoryType of thisMetadataConfigurationRequestinstance and return the same instance.destinationName(String destinationName) Set the destinationName of thisMetadataConfigurationRequestinstance and return the same instance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theMetadataConfigurationRequest.The data repository type for which this configuration is being created.Contains destination name containing credentials to access the data repository.getId()If provided, must be a valid UUID.Get includePathsGet labelsgetName()If provided, must be a valid string.inthashCode()Set the id of thisMetadataConfigurationRequestinstance and return the same instance.includePaths(List<String> includePaths) Set the includePaths of thisMetadataConfigurationRequestinstance and return the same instance.Set the labels of thisMetadataConfigurationRequestinstance and return the same instance.Set the name of thisMetadataConfigurationRequestinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisMetadataConfigurationRequestinstance.voidsetDataRepositoryType(MetadataConfigurationRequest.DataRepositoryTypeEnum dataRepositoryType) Set the dataRepositoryType of thisMetadataConfigurationRequestinstance.voidsetDestinationName(String destinationName) Set the destinationName of thisMetadataConfigurationRequestinstance.voidSet the id of thisMetadataConfigurationRequestinstance.voidsetIncludePaths(List<String> includePaths) Set the includePaths of thisMetadataConfigurationRequestinstance.voidSet the labels of thisMetadataConfigurationRequestinstance.voidSet the name of thisMetadataConfigurationRequestinstance.toMap()Get the value of all properties of thisMetadataConfigurationRequestinstance including unrecognized properties.toString()
-
Constructor Details
-
MetadataConfigurationRequest
protected MetadataConfigurationRequest()Default constructor for MetadataConfigurationRequest.
-
-
Method Details
-
id
Set the id of thisMetadataConfigurationRequestinstance and return the same instance.- Parameters:
id- If provided, must be a valid UUID. If not provided, a new UUID will be generated.- Returns:
- The same instance of this
MetadataConfigurationRequestclass
-
getId
If provided, must be a valid UUID. If not provided, a new UUID will be generated.- Returns:
- id The id of this
MetadataConfigurationRequestinstance.
-
setId
Set the id of thisMetadataConfigurationRequestinstance.- Parameters:
id- If provided, must be a valid UUID. If not provided, a new UUID will be generated.
-
name
Set the name of thisMetadataConfigurationRequestinstance and return the same instance.- Parameters:
name- If provided, must be a valid string. If not provided, will be same as id.- Returns:
- The same instance of this
MetadataConfigurationRequestclass
-
getName
If provided, must be a valid string. If not provided, will be same as id.- Returns:
- name The name of this
MetadataConfigurationRequestinstance.
-
setName
Set the name of thisMetadataConfigurationRequestinstance.- Parameters:
name- If provided, must be a valid string. If not provided, will be same as id.
-
destinationName
Set the destinationName of thisMetadataConfigurationRequestinstance and return the same instance.- Parameters:
destinationName- Contains destination name containing credentials to access the data repository.- Returns:
- The same instance of this
MetadataConfigurationRequestclass
-
getDestinationName
Contains destination name containing credentials to access the data repository.- Returns:
- destinationName The destinationName of this
MetadataConfigurationRequestinstance.
-
setDestinationName
Set the destinationName of thisMetadataConfigurationRequestinstance.- Parameters:
destinationName- Contains destination name containing credentials to access the data repository.
-
dataRepositoryType
@Nonnull public MetadataConfigurationRequest dataRepositoryType(@Nonnull MetadataConfigurationRequest.DataRepositoryTypeEnum dataRepositoryType) Set the dataRepositoryType of thisMetadataConfigurationRequestinstance and return the same instance.- Parameters:
dataRepositoryType- The data repository type for which this configuration is being created.- Returns:
- The same instance of this
MetadataConfigurationRequestclass
-
getDataRepositoryType
The data repository type for which this configuration is being created.- Returns:
- dataRepositoryType The dataRepositoryType of this
MetadataConfigurationRequestinstance.
-
setDataRepositoryType
public void setDataRepositoryType(@Nonnull MetadataConfigurationRequest.DataRepositoryTypeEnum dataRepositoryType) Set the dataRepositoryType of thisMetadataConfigurationRequestinstance.- Parameters:
dataRepositoryType- The data repository type for which this configuration is being created.
-
includePaths
Set the includePaths of thisMetadataConfigurationRequestinstance and return the same instance.- Parameters:
includePaths- The includePaths of thisMetadataConfigurationRequest- Returns:
- The same instance of this
MetadataConfigurationRequestclass
-
addIncludePathsItem
Add one includePaths instance to thisMetadataConfigurationRequest.- Parameters:
includePathsItem- The includePaths that should be added- Returns:
- The same instance of type
MetadataConfigurationRequest
-
getIncludePaths
Get includePaths- Returns:
- includePaths The includePaths of this
MetadataConfigurationRequestinstance.
-
setIncludePaths
Set the includePaths of thisMetadataConfigurationRequestinstance.- Parameters:
includePaths- The includePaths of thisMetadataConfigurationRequest
-
labels
@Nonnull public MetadataConfigurationRequest labels(@Nullable List<MetadataConfigurationRequestLabelsInner> labels) Set the labels of thisMetadataConfigurationRequestinstance and return the same instance.- Parameters:
labels- The labels of thisMetadataConfigurationRequest- Returns:
- The same instance of this
MetadataConfigurationRequestclass
-
addLabelsItem
@Nonnull public MetadataConfigurationRequest addLabelsItem(@Nonnull MetadataConfigurationRequestLabelsInner labelsItem) Add one labels instance to thisMetadataConfigurationRequest.- Parameters:
labelsItem- The labels that should be added- Returns:
- The same instance of type
MetadataConfigurationRequest
-
getLabels
Get labels- Returns:
- labels The labels of this
MetadataConfigurationRequestinstance.
-
setLabels
Set the labels of thisMetadataConfigurationRequestinstance.- Parameters:
labels- The labels of thisMetadataConfigurationRequest
-
getCustomFieldNames
Get the names of the unrecognizable properties of theMetadataConfigurationRequest.- 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 thisMetadataConfigurationRequestinstance.- 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 thisMetadataConfigurationRequestinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisMetadataConfigurationRequestinstance. 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 newMetadataConfigurationRequestinstance with all required arguments.
-
toMap()instead.