Package com.sap.ai.sdk.grounding.model
Class SFTPConfiguration
java.lang.Object
com.sap.ai.sdk.grounding.model.SFTPConfiguration
SFTPConfiguration
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for SFTPConfiguration. -
Method Summary
Modifier and TypeMethodDescriptionstatic SFTPConfiguration.Buildercreate()Create a type-safe, fluent-api builder object to construct a newSFTPConfigurationinstance with all required arguments.cronExpression(String cronExpression) Set the cronExpression of thisSFTPConfigurationinstance and return the same instance.destination(String destination) Set the destination of thisSFTPConfigurationinstance and return the same instance.booleanGet cronExpressiongetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theSFTPConfiguration.Get destinationgetSftp()Get sftpinthashCode()voidsetCronExpression(String cronExpression) Set the cronExpression of thisSFTPConfigurationinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisSFTPConfigurationinstance.voidsetDestination(String destination) Set the destination of thisSFTPConfigurationinstance.voidSet the sftp of thisSFTPConfigurationinstance.Set the sftp of thisSFTPConfigurationinstance and return the same instance.toMap()Get the value of all properties of thisSFTPConfigurationinstance including unrecognized properties.toString()
-
Constructor Details
-
SFTPConfiguration
protected SFTPConfiguration()Default constructor for SFTPConfiguration.
-
-
Method Details
-
destination
Set the destination of thisSFTPConfigurationinstance and return the same instance.- Parameters:
destination- The destination of thisSFTPConfiguration- Returns:
- The same instance of this
SFTPConfigurationclass
-
getDestination
Get destination- Returns:
- destination The destination of this
SFTPConfigurationinstance.
-
setDestination
Set the destination of thisSFTPConfigurationinstance.- Parameters:
destination- The destination of thisSFTPConfiguration
-
sftp
Set the sftp of thisSFTPConfigurationinstance and return the same instance.- Parameters:
sftp- The sftp of thisSFTPConfiguration- Returns:
- The same instance of this
SFTPConfigurationclass
-
getSftp
Get sftp- Returns:
- sftp The sftp of this
SFTPConfigurationinstance.
-
setSftp
Set the sftp of thisSFTPConfigurationinstance.- Parameters:
sftp- The sftp of thisSFTPConfiguration
-
cronExpression
Set the cronExpression of thisSFTPConfigurationinstance and return the same instance.- Parameters:
cronExpression- The cronExpression of thisSFTPConfiguration- Returns:
- The same instance of this
SFTPConfigurationclass
-
getCronExpression
Get cronExpression- Returns:
- cronExpression The cronExpression of this
SFTPConfigurationinstance.
-
setCronExpression
Set the cronExpression of thisSFTPConfigurationinstance.- Parameters:
cronExpression- The cronExpression of thisSFTPConfiguration
-
getCustomFieldNames
Get the names of the unrecognizable properties of theSFTPConfiguration.- 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 thisSFTPConfigurationinstance.- 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 thisSFTPConfigurationinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisSFTPConfigurationinstance. 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 newSFTPConfigurationinstance with all required arguments.
-
toMap()instead.