Package com.sap.ai.sdk.grounding.model
Class ServiceNowConfigurationStruct
java.lang.Object
com.sap.ai.sdk.grounding.model.ServiceNowConfigurationStruct
ServiceNowConfigurationStruct
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for ServiceNowConfigurationStruct. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newServiceNowConfigurationStructinstance with all required arguments.cronExpression(String cronExpression) Set the cronExpression of thisServiceNowConfigurationStructinstance and return the same instance.destination(String destination) Set the destination of thisServiceNowConfigurationStructinstance and return the same instance.booleanOptional cron expression for scheduling pipeline execution.getCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theServiceNowConfigurationStruct.Get destinationGet metadataConfigIdGet serviceNowinthashCode()metadataConfigId(String metadataConfigId) Set the metadataConfigId of thisServiceNowConfigurationStructinstance and return the same instance.serviceNow(ServiceNowConfig serviceNow) Set the serviceNow of thisServiceNowConfigurationStructinstance and return the same instance.voidsetCronExpression(String cronExpression) Set the cronExpression of thisServiceNowConfigurationStructinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisServiceNowConfigurationStructinstance.voidsetDestination(String destination) Set the destination of thisServiceNowConfigurationStructinstance.voidsetMetadataConfigId(String metadataConfigId) Set the metadataConfigId of thisServiceNowConfigurationStructinstance.voidsetServiceNow(ServiceNowConfig serviceNow) Set the serviceNow of thisServiceNowConfigurationStructinstance.toMap()Get the value of all properties of thisServiceNowConfigurationStructinstance including unrecognized properties.toString()
-
Constructor Details
-
ServiceNowConfigurationStruct
protected ServiceNowConfigurationStruct()Default constructor for ServiceNowConfigurationStruct.
-
-
Method Details
-
destination
Set the destination of thisServiceNowConfigurationStructinstance and return the same instance.- Parameters:
destination- The destination of thisServiceNowConfigurationStruct- Returns:
- The same instance of this
ServiceNowConfigurationStructclass
-
getDestination
Get destination- Returns:
- destination The destination of this
ServiceNowConfigurationStructinstance.
-
setDestination
Set the destination of thisServiceNowConfigurationStructinstance.- Parameters:
destination- The destination of thisServiceNowConfigurationStruct
-
serviceNow
Set the serviceNow of thisServiceNowConfigurationStructinstance and return the same instance.- Parameters:
serviceNow- The serviceNow of thisServiceNowConfigurationStruct- Returns:
- The same instance of this
ServiceNowConfigurationStructclass
-
getServiceNow
Get serviceNow- Returns:
- serviceNow The serviceNow of this
ServiceNowConfigurationStructinstance.
-
setServiceNow
Set the serviceNow of thisServiceNowConfigurationStructinstance.- Parameters:
serviceNow- The serviceNow of thisServiceNowConfigurationStruct
-
metadataConfigId
Set the metadataConfigId of thisServiceNowConfigurationStructinstance and return the same instance.- Parameters:
metadataConfigId- The metadataConfigId of thisServiceNowConfigurationStruct- Returns:
- The same instance of this
ServiceNowConfigurationStructclass
-
getMetadataConfigId
Get metadataConfigId- Returns:
- metadataConfigId The metadataConfigId of this
ServiceNowConfigurationStructinstance.
-
setMetadataConfigId
Set the metadataConfigId of thisServiceNowConfigurationStructinstance.- Parameters:
metadataConfigId- The metadataConfigId of thisServiceNowConfigurationStruct
-
cronExpression
Set the cronExpression of thisServiceNowConfigurationStructinstance and return the same instance.- Parameters:
cronExpression- Optional cron expression for scheduling pipeline execution. Must represent an interval greater than 1 hour.- Returns:
- The same instance of this
ServiceNowConfigurationStructclass
-
getCronExpression
Optional cron expression for scheduling pipeline execution. Must represent an interval greater than 1 hour.- Returns:
- cronExpression The cronExpression of this
ServiceNowConfigurationStructinstance.
-
setCronExpression
Set the cronExpression of thisServiceNowConfigurationStructinstance.- Parameters:
cronExpression- Optional cron expression for scheduling pipeline execution. Must represent an interval greater than 1 hour.
-
getCustomFieldNames
Get the names of the unrecognizable properties of theServiceNowConfigurationStruct.- 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 thisServiceNowConfigurationStructinstance.- 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 thisServiceNowConfigurationStructinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisServiceNowConfigurationStructinstance. 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 newServiceNowConfigurationStructinstance with all required arguments.
-
toMap()instead.