Package com.sap.ai.sdk.grounding.model
Class MetadataConfigurationStruct
java.lang.Object
com.sap.ai.sdk.grounding.model.MetadataConfigurationStruct
MetadataConfigurationStruct
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for MetadataConfigurationStruct. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newMetadataConfigurationStructinstance with all required arguments.cronExpression(String cronExpression) Set the cronExpression of thisMetadataConfigurationStructinstance and return the same instance.booleanOptional cron expression for scheduling pipeline execution.getCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theMetadataConfigurationStruct.Get metadataConfigIdinthashCode()metadataConfigId(String metadataConfigId) Set the metadataConfigId of thisMetadataConfigurationStructinstance and return the same instance.voidsetCronExpression(String cronExpression) Set the cronExpression of thisMetadataConfigurationStructinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisMetadataConfigurationStructinstance.voidsetMetadataConfigId(String metadataConfigId) Set the metadataConfigId of thisMetadataConfigurationStructinstance.toMap()Get the value of all properties of thisMetadataConfigurationStructinstance including unrecognized properties.toString()
-
Constructor Details
-
MetadataConfigurationStruct
protected MetadataConfigurationStruct()Default constructor for MetadataConfigurationStruct.
-
-
Method Details
-
metadataConfigId
Set the metadataConfigId of thisMetadataConfigurationStructinstance and return the same instance.- Parameters:
metadataConfigId- The metadataConfigId of thisMetadataConfigurationStruct- Returns:
- The same instance of this
MetadataConfigurationStructclass
-
getMetadataConfigId
Get metadataConfigId- Returns:
- metadataConfigId The metadataConfigId of this
MetadataConfigurationStructinstance.
-
setMetadataConfigId
Set the metadataConfigId of thisMetadataConfigurationStructinstance.- Parameters:
metadataConfigId- The metadataConfigId of thisMetadataConfigurationStruct
-
cronExpression
Set the cronExpression of thisMetadataConfigurationStructinstance 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
MetadataConfigurationStructclass
-
getCronExpression
Optional cron expression for scheduling pipeline execution. Must represent an interval greater than 1 hour.- Returns:
- cronExpression The cronExpression of this
MetadataConfigurationStructinstance.
-
setCronExpression
Set the cronExpression of thisMetadataConfigurationStructinstance.- 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 theMetadataConfigurationStruct.- 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 thisMetadataConfigurationStructinstance.- 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 thisMetadataConfigurationStructinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisMetadataConfigurationStructinstance. 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 newMetadataConfigurationStructinstance with all required arguments.
-
toMap()instead.