Package com.sap.ai.sdk.grounding.model
Class GetPipelines
java.lang.Object
com.sap.ai.sdk.grounding.model.GetPipelines
GetPipelines
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddResourcesItem(GetPipeline resourcesItem) Add one resources instance to thisGetPipelines.Set the count of thisGetPipelinesinstance and return the same instance.static GetPipelines.Buildercreate()Create a type-safe, fluent-api builder object to construct a newGetPipelinesinstance with all required arguments.booleangetCount()Get countgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theGetPipelines.Get resourcesinthashCode()resources(List<GetPipeline> resources) Set the resources of thisGetPipelinesinstance and return the same instance.voidSet the count of thisGetPipelinesinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisGetPipelinesinstance.voidsetResources(List<GetPipeline> resources) Set the resources of thisGetPipelinesinstance.toMap()Get the value of all properties of thisGetPipelinesinstance including unrecognized properties.toString()
-
Constructor Details
-
GetPipelines
protected GetPipelines()Default constructor for GetPipelines.
-
-
Method Details
-
count
Set the count of thisGetPipelinesinstance and return the same instance.- Parameters:
count- The count of thisGetPipelines- Returns:
- The same instance of this
GetPipelinesclass
-
getCount
Get count- Returns:
- count The count of this
GetPipelinesinstance.
-
setCount
Set the count of thisGetPipelinesinstance.- Parameters:
count- The count of thisGetPipelines
-
resources
Set the resources of thisGetPipelinesinstance and return the same instance.- Parameters:
resources- The resources of thisGetPipelines- Returns:
- The same instance of this
GetPipelinesclass
-
addResourcesItem
Add one resources instance to thisGetPipelines.- Parameters:
resourcesItem- The resources that should be added- Returns:
- The same instance of type
GetPipelines
-
getResources
Get resources- Returns:
- resources The resources of this
GetPipelinesinstance.
-
setResources
Set the resources of thisGetPipelinesinstance.- Parameters:
resources- The resources of thisGetPipelines
-
getCustomFieldNames
Get the names of the unrecognizable properties of theGetPipelines.- 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 thisGetPipelinesinstance.- 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 thisGetPipelinesinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisGetPipelinesinstance. 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 newGetPipelinesinstance with all required arguments.
-
toMap()instead.