Package com.sap.ai.sdk.grounding.model
Class SDMPipelineCreateRequest
java.lang.Object
com.sap.ai.sdk.grounding.model.SDMPipelineCreateRequest
- All Implemented Interfaces:
CreatePipeline
SDMPipelineCreateRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class.static enumGets or Sets type -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for SDMPipelineCreateRequest. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newSDMPipelineCreateRequestinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theSDMPipelineCreateRequest.Get metadatagetType()Get typeinthashCode()Set the metadata of thisSDMPipelineCreateRequestinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisSDMPipelineCreateRequestinstance.voidsetMetadata(MetaData metadata) Set the metadata of thisSDMPipelineCreateRequestinstance.voidSet the type of thisSDMPipelineCreateRequestinstance.toMap()Get the value of all properties of thisSDMPipelineCreateRequestinstance including unrecognized properties.toString()Set the type of thisSDMPipelineCreateRequestinstance and return the same instance.
-
Constructor Details
-
SDMPipelineCreateRequest
protected SDMPipelineCreateRequest()Default constructor for SDMPipelineCreateRequest.
-
-
Method Details
-
type
Set the type of thisSDMPipelineCreateRequestinstance and return the same instance.- Parameters:
type- The type of thisSDMPipelineCreateRequest- Returns:
- The same instance of this
SDMPipelineCreateRequestclass
-
getType
Get type- Specified by:
getTypein interfaceCreatePipeline- Returns:
- type The type of this
SDMPipelineCreateRequestinstance.
-
setType
Set the type of thisSDMPipelineCreateRequestinstance.- Parameters:
type- The type of thisSDMPipelineCreateRequest
-
metadata
Set the metadata of thisSDMPipelineCreateRequestinstance and return the same instance.- Parameters:
metadata- The metadata of thisSDMPipelineCreateRequest- Returns:
- The same instance of this
SDMPipelineCreateRequestclass
-
getMetadata
Get metadata- Returns:
- metadata The metadata of this
SDMPipelineCreateRequestinstance.
-
setMetadata
Set the metadata of thisSDMPipelineCreateRequestinstance.- Parameters:
metadata- The metadata of thisSDMPipelineCreateRequest
-
getCustomFieldNames
Get the names of the unrecognizable properties of theSDMPipelineCreateRequest.- 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 thisSDMPipelineCreateRequestinstance.- 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 thisSDMPipelineCreateRequestinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisSDMPipelineCreateRequestinstance. 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 newSDMPipelineCreateRequestinstance with all required arguments.
-
toMap()instead.