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