Package com.sap.ai.sdk.core.model
Class BckndGenericSecretPostBody
java.lang.Object
com.sap.ai.sdk.core.model.BckndGenericSecretPostBody
BckndGenericSecretPostBody
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for BckndGenericSecretPostBody. -
Method Summary
Modifier and TypeMethodDescriptionaddLabelsItem(BckndGenericSecretLabel labelsItem) Add one labels instance to thisBckndGenericSecretPostBody.create()Create a type-safe, fluent-api builder object to construct a newBckndGenericSecretPostBodyinstance with all required arguments.Set the data of thisBckndGenericSecretPostBodyinstance and return the same instance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theBckndGenericSecretPostBody.getData()Base64 encoded secret dataArbitrary labels as meta informationgetName()The name of the secretinthashCode()labels(List<BckndGenericSecretLabel> labels) Set the labels of thisBckndGenericSecretPostBodyinstance and return the same instance.Set the name of thisBckndGenericSecretPostBodyinstance and return the same instance.putdataItem(String key, String dataItem) Put one data instance to thisBckndGenericSecretPostBodyinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisBckndGenericSecretPostBodyinstance.voidSet the data of thisBckndGenericSecretPostBodyinstance.voidsetLabels(List<BckndGenericSecretLabel> labels) Set the labels of thisBckndGenericSecretPostBodyinstance.voidSet the name of thisBckndGenericSecretPostBodyinstance.toMap()Get the value of all properties of thisBckndGenericSecretPostBodyinstance including unrecognized properties.toString()
-
Constructor Details
-
BckndGenericSecretPostBody
protected BckndGenericSecretPostBody()Default constructor for BckndGenericSecretPostBody.
-
-
Method Details
-
name
Set the name of thisBckndGenericSecretPostBodyinstance and return the same instance.- Parameters:
name- The name of the secret- Returns:
- The same instance of this
BckndGenericSecretPostBodyclass
-
getName
The name of the secret- Returns:
- name The name of this
BckndGenericSecretPostBodyinstance.
-
setName
Set the name of thisBckndGenericSecretPostBodyinstance.- Parameters:
name- The name of the secret
-
data
Set the data of thisBckndGenericSecretPostBodyinstance and return the same instance.- Parameters:
data- Base64 encoded secret data- Returns:
- The same instance of this
BckndGenericSecretPostBodyclass
-
putdataItem
@Nonnull public BckndGenericSecretPostBody putdataItem(@Nonnull String key, @Nonnull String dataItem) Put one data instance to thisBckndGenericSecretPostBodyinstance.- Parameters:
key- The String key of this data instancedataItem- The data that should be added under the given key- Returns:
- The same instance of type
BckndGenericSecretPostBody
-
getData
Base64 encoded secret data- Returns:
- data The data of this
BckndGenericSecretPostBodyinstance.
-
setData
Set the data of thisBckndGenericSecretPostBodyinstance.- Parameters:
data- Base64 encoded secret data
-
labels
Set the labels of thisBckndGenericSecretPostBodyinstance and return the same instance.- Parameters:
labels- Arbitrary labels as meta information- Returns:
- The same instance of this
BckndGenericSecretPostBodyclass
-
addLabelsItem
@Nonnull public BckndGenericSecretPostBody addLabelsItem(@Nonnull BckndGenericSecretLabel labelsItem) Add one labels instance to thisBckndGenericSecretPostBody.- Parameters:
labelsItem- The labels that should be added- Returns:
- The same instance of type
BckndGenericSecretPostBody
-
getLabels
Arbitrary labels as meta information- Returns:
- labels The labels of this
BckndGenericSecretPostBodyinstance.
-
setLabels
Set the labels of thisBckndGenericSecretPostBodyinstance.- Parameters:
labels- Arbitrary labels as meta information
-
getCustomFieldNames
Get the names of the unrecognizable properties of theBckndGenericSecretPostBody.- 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 thisBckndGenericSecretPostBodyinstance.- 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 thisBckndGenericSecretPostBodyinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisBckndGenericSecretPostBodyinstance. 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 newBckndGenericSecretPostBodyinstance with all required arguments.
-
toMap()instead.