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