Package com.sap.ai.sdk.grounding.model
Class ConfigurationDocumentFullDetails
java.lang.Object
com.sap.ai.sdk.grounding.model.ConfigurationDocumentFullDetails
ConfigurationDocumentFullDetails
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for ConfigurationDocumentFullDetails. -
Method Summary
Modifier and TypeMethodDescriptionabsoluteFilePath(String absoluteFilePath) Set the absoluteFilePath of thisConfigurationDocumentFullDetailsinstance and return the same instance.addMetadataItem(DocumentMetadata metadataItem) Add one metadata instance to thisConfigurationDocumentFullDetails.create()Create a newConfigurationDocumentFullDetailsinstance.createdTimestamp(OffsetDateTime createdTimestamp) Set the createdTimestamp of thisConfigurationDocumentFullDetailsinstance and return the same instance.documentEtag(String documentEtag) Set the documentEtag of thisConfigurationDocumentFullDetailsinstance and return the same instance.downloadLocation(String downloadLocation) Set the downloadLocation of thisConfigurationDocumentFullDetailsinstance and return the same instance.booleanfileSizeMb(String fileSizeMb) Set the fileSizeMb of thisConfigurationDocumentFullDetailsinstance and return the same instance.fileSuffix(String fileSuffix) Set the fileSuffix of thisConfigurationDocumentFullDetailsinstance and return the same instance.Absolute file path of the document in the repository.UTC timestamp when the document was created (RFC 3339 format, e.g., 2025-08-28T06:15:30Z)getCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theConfigurationDocumentFullDetails.ETag of the document.Download location of the document.File size of the document in megabytes.File suffix of the document.getId()Unique identifier for the document.Metadata key-value pairs associated with the document.MIME type of the document.URI of the resource.getTitle()Title of the document.View location of the document.Web URL of the document.inthashCode()Set the id of thisConfigurationDocumentFullDetailsinstance and return the same instance.metadata(List<DocumentMetadata> metadata) Set the metadata of thisConfigurationDocumentFullDetailsinstance and return the same instance.Set the mimeType of thisConfigurationDocumentFullDetailsinstance and return the same instance.resourceUri(String resourceUri) Set the resourceUri of thisConfigurationDocumentFullDetailsinstance and return the same instance.voidsetAbsoluteFilePath(String absoluteFilePath) Set the absoluteFilePath of thisConfigurationDocumentFullDetailsinstance.voidsetCreatedTimestamp(OffsetDateTime createdTimestamp) Set the createdTimestamp of thisConfigurationDocumentFullDetailsinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisConfigurationDocumentFullDetailsinstance.voidsetDocumentEtag(String documentEtag) Set the documentEtag of thisConfigurationDocumentFullDetailsinstance.voidsetDownloadLocation(String downloadLocation) Set the downloadLocation of thisConfigurationDocumentFullDetailsinstance.voidsetFileSizeMb(String fileSizeMb) Set the fileSizeMb of thisConfigurationDocumentFullDetailsinstance.voidsetFileSuffix(String fileSuffix) Set the fileSuffix of thisConfigurationDocumentFullDetailsinstance.voidSet the id of thisConfigurationDocumentFullDetailsinstance.voidsetMetadata(List<DocumentMetadata> metadata) Set the metadata of thisConfigurationDocumentFullDetailsinstance.voidsetMimeType(String mimeType) Set the mimeType of thisConfigurationDocumentFullDetailsinstance.voidsetResourceUri(String resourceUri) Set the resourceUri of thisConfigurationDocumentFullDetailsinstance.voidSet the title of thisConfigurationDocumentFullDetailsinstance.voidsetViewLocation(String viewLocation) Set the viewLocation of thisConfigurationDocumentFullDetailsinstance.voidSet the webUrl of thisConfigurationDocumentFullDetailsinstance.Set the title of thisConfigurationDocumentFullDetailsinstance and return the same instance.toMap()Get the value of all properties of thisConfigurationDocumentFullDetailsinstance including unrecognized properties.toString()viewLocation(String viewLocation) Set the viewLocation of thisConfigurationDocumentFullDetailsinstance and return the same instance.Set the webUrl of thisConfigurationDocumentFullDetailsinstance and return the same instance.
-
Constructor Details
-
ConfigurationDocumentFullDetails
protected ConfigurationDocumentFullDetails()Default constructor for ConfigurationDocumentFullDetails.
-
-
Method Details
-
id
Set the id of thisConfigurationDocumentFullDetailsinstance and return the same instance.- Parameters:
id- Unique identifier for the document.- Returns:
- The same instance of this
ConfigurationDocumentFullDetailsclass
-
getId
Unique identifier for the document.- Returns:
- id The id of this
ConfigurationDocumentFullDetailsinstance.
-
setId
Set the id of thisConfigurationDocumentFullDetailsinstance.- Parameters:
id- Unique identifier for the document.
-
title
Set the title of thisConfigurationDocumentFullDetailsinstance and return the same instance.- Parameters:
title- Title of the document.- Returns:
- The same instance of this
ConfigurationDocumentFullDetailsclass
-
getTitle
Title of the document.- Returns:
- title The title of this
ConfigurationDocumentFullDetailsinstance.
-
setTitle
Set the title of thisConfigurationDocumentFullDetailsinstance.- Parameters:
title- Title of the document.
-
absoluteFilePath
@Nonnull public ConfigurationDocumentFullDetails absoluteFilePath(@Nullable String absoluteFilePath) Set the absoluteFilePath of thisConfigurationDocumentFullDetailsinstance and return the same instance.- Parameters:
absoluteFilePath- Absolute file path of the document in the repository.- Returns:
- The same instance of this
ConfigurationDocumentFullDetailsclass
-
getAbsoluteFilePath
Absolute file path of the document in the repository.- Returns:
- absoluteFilePath The absoluteFilePath of this
ConfigurationDocumentFullDetailsinstance.
-
setAbsoluteFilePath
Set the absoluteFilePath of thisConfigurationDocumentFullDetailsinstance.- Parameters:
absoluteFilePath- Absolute file path of the document in the repository.
-
createdTimestamp
@Nonnull public ConfigurationDocumentFullDetails createdTimestamp(@Nullable OffsetDateTime createdTimestamp) Set the createdTimestamp of thisConfigurationDocumentFullDetailsinstance and return the same instance.- Parameters:
createdTimestamp- UTC timestamp when the document was created (RFC 3339 format, e.g., 2025-08-28T06:15:30Z)- Returns:
- The same instance of this
ConfigurationDocumentFullDetailsclass
-
getCreatedTimestamp
UTC timestamp when the document was created (RFC 3339 format, e.g., 2025-08-28T06:15:30Z)- Returns:
- createdTimestamp The createdTimestamp of this
ConfigurationDocumentFullDetailsinstance.
-
setCreatedTimestamp
Set the createdTimestamp of thisConfigurationDocumentFullDetailsinstance.- Parameters:
createdTimestamp- UTC timestamp when the document was created (RFC 3339 format, e.g., 2025-08-28T06:15:30Z)
-
resourceUri
Set the resourceUri of thisConfigurationDocumentFullDetailsinstance and return the same instance.- Parameters:
resourceUri- URI of the resource.- Returns:
- The same instance of this
ConfigurationDocumentFullDetailsclass
-
getResourceUri
URI of the resource.- Returns:
- resourceUri The resourceUri of this
ConfigurationDocumentFullDetailsinstance.
-
setResourceUri
Set the resourceUri of thisConfigurationDocumentFullDetailsinstance.- Parameters:
resourceUri- URI of the resource.
-
webUrl
Set the webUrl of thisConfigurationDocumentFullDetailsinstance and return the same instance.- Parameters:
webUrl- Web URL of the document.- Returns:
- The same instance of this
ConfigurationDocumentFullDetailsclass
-
getWebUrl
Web URL of the document.- Returns:
- webUrl The webUrl of this
ConfigurationDocumentFullDetailsinstance.
-
setWebUrl
Set the webUrl of thisConfigurationDocumentFullDetailsinstance.- Parameters:
webUrl- Web URL of the document.
-
documentEtag
Set the documentEtag of thisConfigurationDocumentFullDetailsinstance and return the same instance.- Parameters:
documentEtag- ETag of the document.- Returns:
- The same instance of this
ConfigurationDocumentFullDetailsclass
-
getDocumentEtag
ETag of the document.- Returns:
- documentEtag The documentEtag of this
ConfigurationDocumentFullDetailsinstance.
-
setDocumentEtag
Set the documentEtag of thisConfigurationDocumentFullDetailsinstance.- Parameters:
documentEtag- ETag of the document.
-
fileSuffix
Set the fileSuffix of thisConfigurationDocumentFullDetailsinstance and return the same instance.- Parameters:
fileSuffix- File suffix of the document.- Returns:
- The same instance of this
ConfigurationDocumentFullDetailsclass
-
getFileSuffix
File suffix of the document.- Returns:
- fileSuffix The fileSuffix of this
ConfigurationDocumentFullDetailsinstance.
-
setFileSuffix
Set the fileSuffix of thisConfigurationDocumentFullDetailsinstance.- Parameters:
fileSuffix- File suffix of the document.
-
viewLocation
Set the viewLocation of thisConfigurationDocumentFullDetailsinstance and return the same instance.- Parameters:
viewLocation- View location of the document.- Returns:
- The same instance of this
ConfigurationDocumentFullDetailsclass
-
getViewLocation
View location of the document.- Returns:
- viewLocation The viewLocation of this
ConfigurationDocumentFullDetailsinstance.
-
setViewLocation
Set the viewLocation of thisConfigurationDocumentFullDetailsinstance.- Parameters:
viewLocation- View location of the document.
-
downloadLocation
@Nonnull public ConfigurationDocumentFullDetails downloadLocation(@Nullable String downloadLocation) Set the downloadLocation of thisConfigurationDocumentFullDetailsinstance and return the same instance.- Parameters:
downloadLocation- Download location of the document.- Returns:
- The same instance of this
ConfigurationDocumentFullDetailsclass
-
getDownloadLocation
Download location of the document.- Returns:
- downloadLocation The downloadLocation of this
ConfigurationDocumentFullDetailsinstance.
-
setDownloadLocation
Set the downloadLocation of thisConfigurationDocumentFullDetailsinstance.- Parameters:
downloadLocation- Download location of the document.
-
mimeType
Set the mimeType of thisConfigurationDocumentFullDetailsinstance and return the same instance.- Parameters:
mimeType- MIME type of the document.- Returns:
- The same instance of this
ConfigurationDocumentFullDetailsclass
-
getMimeType
MIME type of the document.- Returns:
- mimeType The mimeType of this
ConfigurationDocumentFullDetailsinstance.
-
setMimeType
Set the mimeType of thisConfigurationDocumentFullDetailsinstance.- Parameters:
mimeType- MIME type of the document.
-
fileSizeMb
Set the fileSizeMb of thisConfigurationDocumentFullDetailsinstance and return the same instance.- Parameters:
fileSizeMb- File size of the document in megabytes.- Returns:
- The same instance of this
ConfigurationDocumentFullDetailsclass
-
getFileSizeMb
File size of the document in megabytes.- Returns:
- fileSizeMb The fileSizeMb of this
ConfigurationDocumentFullDetailsinstance.
-
setFileSizeMb
Set the fileSizeMb of thisConfigurationDocumentFullDetailsinstance.- Parameters:
fileSizeMb- File size of the document in megabytes.
-
metadata
@Nonnull public ConfigurationDocumentFullDetails metadata(@Nullable List<DocumentMetadata> metadata) Set the metadata of thisConfigurationDocumentFullDetailsinstance and return the same instance.- Parameters:
metadata- Metadata key-value pairs associated with the document.- Returns:
- The same instance of this
ConfigurationDocumentFullDetailsclass
-
addMetadataItem
@Nonnull public ConfigurationDocumentFullDetails addMetadataItem(@Nonnull DocumentMetadata metadataItem) Add one metadata instance to thisConfigurationDocumentFullDetails.- Parameters:
metadataItem- The metadata that should be added- Returns:
- The same instance of type
ConfigurationDocumentFullDetails
-
getMetadata
Metadata key-value pairs associated with the document.- Returns:
- metadata The metadata of this
ConfigurationDocumentFullDetailsinstance.
-
setMetadata
Set the metadata of thisConfigurationDocumentFullDetailsinstance.- Parameters:
metadata- Metadata key-value pairs associated with the document.
-
getCustomFieldNames
Get the names of the unrecognizable properties of theConfigurationDocumentFullDetails.- 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 thisConfigurationDocumentFullDetailsinstance.- 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 thisConfigurationDocumentFullDetailsinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisConfigurationDocumentFullDetailsinstance. 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 newConfigurationDocumentFullDetailsinstance. No arguments are required.
-
toMap()instead.