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