Package com.sap.ai.sdk.core.model
Class BckndService
java.lang.Object
com.sap.ai.sdk.core.model.BckndService
BckndService
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumaggregated status of the service -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BckndServicecreate()Create a newBckndServiceinstance.description(String description) Set the description of thisBckndServiceinstance and return the same instance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theBckndService.service descriptiongetName()service nameaggregated status of the servicestatus messagegetUrl()service broker urlinthashCode()Set the name of thisBckndServiceinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisBckndServiceinstance.voidsetDescription(String description) Set the description of thisBckndServiceinstance.voidSet the name of thisBckndServiceinstance.voidsetStatus(BckndService.StatusEnum status) Set the status of thisBckndServiceinstance.voidsetStatusMessage(String statusMessage) Set the statusMessage of thisBckndServiceinstance.voidSet the url of thisBckndServiceinstance.status(BckndService.StatusEnum status) Set the status of thisBckndServiceinstance and return the same instance.statusMessage(String statusMessage) Set the statusMessage of thisBckndServiceinstance and return the same instance.toMap()Get the value of all properties of thisBckndServiceinstance including unrecognized properties.toString()Set the url of thisBckndServiceinstance and return the same instance.
-
Constructor Details
-
BckndService
protected BckndService()Default constructor for BckndService.
-
-
Method Details
-
name
Set the name of thisBckndServiceinstance and return the same instance.- Parameters:
name- service name- Returns:
- The same instance of this
BckndServiceclass
-
getName
service name- Returns:
- name The name of this
BckndServiceinstance.
-
setName
Set the name of thisBckndServiceinstance.- Parameters:
name- service name
-
description
Set the description of thisBckndServiceinstance and return the same instance.- Parameters:
description- service description- Returns:
- The same instance of this
BckndServiceclass
-
getDescription
service description- Returns:
- description The description of this
BckndServiceinstance.
-
setDescription
Set the description of thisBckndServiceinstance.- Parameters:
description- service description
-
url
Set the url of thisBckndServiceinstance and return the same instance.- Parameters:
url- service broker url- Returns:
- The same instance of this
BckndServiceclass
-
getUrl
service broker url- Returns:
- url The url of this
BckndServiceinstance.
-
setUrl
Set the url of thisBckndServiceinstance.- Parameters:
url- service broker url
-
status
Set the status of thisBckndServiceinstance and return the same instance.- Parameters:
status- aggregated status of the service- Returns:
- The same instance of this
BckndServiceclass
-
getStatus
aggregated status of the service- Returns:
- status The status of this
BckndServiceinstance.
-
setStatus
Set the status of thisBckndServiceinstance.- Parameters:
status- aggregated status of the service
-
statusMessage
Set the statusMessage of thisBckndServiceinstance and return the same instance.- Parameters:
statusMessage- status message- Returns:
- The same instance of this
BckndServiceclass
-
getStatusMessage
status message- Returns:
- statusMessage The statusMessage of this
BckndServiceinstance.
-
setStatusMessage
Set the statusMessage of thisBckndServiceinstance.- Parameters:
statusMessage- status message
-
getCustomFieldNames
Get the names of the unrecognizable properties of theBckndService.- 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 thisBckndServiceinstance.- 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 thisBckndServiceinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisBckndServiceinstance. 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 newBckndServiceinstance. No arguments are required.
-
toMap()instead.