Package com.sap.ai.sdk.grounding.model
Class GoogleDriveConfig
java.lang.Object
com.sap.ai.sdk.grounding.model.GoogleDriveConfig
GoogleDriveConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static enumGets or Sets resourceType -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for GoogleDriveConfig. -
Method Summary
Modifier and TypeMethodDescriptionaddIncludePathsItem(String includePathsItem) Add one includePaths instance to thisGoogleDriveConfig.static GoogleDriveConfig.Buildercreate()Create a type-safe, fluent-api builder object to construct a newGoogleDriveConfiginstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theGoogleDriveConfig.Get includePathsGet resourceIdGet resourceTypeinthashCode()includePaths(List<String> includePaths) Set the includePaths of thisGoogleDriveConfiginstance and return the same instance.resourceId(String resourceId) Set the resourceId of thisGoogleDriveConfiginstance and return the same instance.resourceType(GoogleDriveConfig.ResourceTypeEnum resourceType) Set the resourceType of thisGoogleDriveConfiginstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisGoogleDriveConfiginstance.voidsetIncludePaths(List<String> includePaths) Set the includePaths of thisGoogleDriveConfiginstance.voidsetResourceId(String resourceId) Set the resourceId of thisGoogleDriveConfiginstance.voidsetResourceType(GoogleDriveConfig.ResourceTypeEnum resourceType) Set the resourceType of thisGoogleDriveConfiginstance.toMap()Get the value of all properties of thisGoogleDriveConfiginstance including unrecognized properties.toString()
-
Constructor Details
-
GoogleDriveConfig
protected GoogleDriveConfig()Default constructor for GoogleDriveConfig.
-
-
Method Details
-
resourceType
@Nonnull public GoogleDriveConfig resourceType(@Nonnull GoogleDriveConfig.ResourceTypeEnum resourceType) Set the resourceType of thisGoogleDriveConfiginstance and return the same instance.- Parameters:
resourceType- The resourceType of thisGoogleDriveConfig- Returns:
- The same instance of this
GoogleDriveConfigclass
-
getResourceType
Get resourceType- Returns:
- resourceType The resourceType of this
GoogleDriveConfiginstance.
-
setResourceType
Set the resourceType of thisGoogleDriveConfiginstance.- Parameters:
resourceType- The resourceType of thisGoogleDriveConfig
-
resourceId
Set the resourceId of thisGoogleDriveConfiginstance and return the same instance.- Parameters:
resourceId- The resourceId of thisGoogleDriveConfig- Returns:
- The same instance of this
GoogleDriveConfigclass
-
getResourceId
Get resourceId- Returns:
- resourceId The resourceId of this
GoogleDriveConfiginstance.
-
setResourceId
Set the resourceId of thisGoogleDriveConfiginstance.- Parameters:
resourceId- The resourceId of thisGoogleDriveConfig
-
includePaths
Set the includePaths of thisGoogleDriveConfiginstance and return the same instance.- Parameters:
includePaths- The includePaths of thisGoogleDriveConfig- Returns:
- The same instance of this
GoogleDriveConfigclass
-
addIncludePathsItem
Add one includePaths instance to thisGoogleDriveConfig.- Parameters:
includePathsItem- The includePaths that should be added- Returns:
- The same instance of type
GoogleDriveConfig
-
getIncludePaths
Get includePaths- Returns:
- includePaths The includePaths of this
GoogleDriveConfiginstance.
-
setIncludePaths
Set the includePaths of thisGoogleDriveConfiginstance.- Parameters:
includePaths- The includePaths of thisGoogleDriveConfig
-
getCustomFieldNames
Get the names of the unrecognizable properties of theGoogleDriveConfig.- 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 thisGoogleDriveConfiginstance.- 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 thisGoogleDriveConfiginstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisGoogleDriveConfiginstance. 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 newGoogleDriveConfiginstance with all required arguments.
-
toMap()instead.