Package com.sap.ai.sdk.core.model
Class BckndGenericSecretDetails
java.lang.Object
com.sap.ai.sdk.core.model.BckndGenericSecretDetails
BckndGenericSecretDetails
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for BckndGenericSecretDetails. -
Method Summary
Modifier and TypeMethodDescriptionaddLabelsItem(BckndGenericSecretLabel labelsItem) Add one labels instance to thisBckndGenericSecretDetails.create()Create a type-safe, fluent-api builder object to construct a newBckndGenericSecretDetailsinstance with all required arguments.Set the createdAt of thisBckndGenericSecretDetailsinstance and return the same instance.booleanTimestamp at which secret was createdgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theBckndGenericSecretDetails.Arbitrary labels as meta informationgetName()Name of the secretSync status of the replicated secrets in all resource groups of the tenantinthashCode()labels(List<BckndGenericSecretLabel> labels) Set the labels of thisBckndGenericSecretDetailsinstance and return the same instance.Set the name of thisBckndGenericSecretDetailsinstance and return the same instance.putresourceGroupSecretsSyncStatusItem(String key, Boolean resourceGroupSecretsSyncStatusItem) Put one resourceGroupSecretsSyncStatus instance to thisBckndGenericSecretDetailsinstance.resourceGroupSecretsSyncStatus(Map<String, Boolean> resourceGroupSecretsSyncStatus) Set the resourceGroupSecretsSyncStatus of thisBckndGenericSecretDetailsinstance and return the same instance.voidsetCreatedAt(String createdAt) Set the createdAt of thisBckndGenericSecretDetailsinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisBckndGenericSecretDetailsinstance.voidsetLabels(List<BckndGenericSecretLabel> labels) Set the labels of thisBckndGenericSecretDetailsinstance.voidSet the name of thisBckndGenericSecretDetailsinstance.voidsetResourceGroupSecretsSyncStatus(Map<String, Boolean> resourceGroupSecretsSyncStatus) Set the resourceGroupSecretsSyncStatus of thisBckndGenericSecretDetailsinstance.toMap()Get the value of all properties of thisBckndGenericSecretDetailsinstance including unrecognized properties.toString()
-
Constructor Details
-
BckndGenericSecretDetails
protected BckndGenericSecretDetails()Default constructor for BckndGenericSecretDetails.
-
-
Method Details
-
name
Set the name of thisBckndGenericSecretDetailsinstance and return the same instance.- Parameters:
name- Name of the secret- Returns:
- The same instance of this
BckndGenericSecretDetailsclass
-
getName
Name of the secret- Returns:
- name The name of this
BckndGenericSecretDetailsinstance.
-
setName
Set the name of thisBckndGenericSecretDetailsinstance.- Parameters:
name- Name of the secret
-
createdAt
Set the createdAt of thisBckndGenericSecretDetailsinstance and return the same instance.- Parameters:
createdAt- Timestamp at which secret was created- Returns:
- The same instance of this
BckndGenericSecretDetailsclass
-
getCreatedAt
Timestamp at which secret was created- Returns:
- createdAt The createdAt of this
BckndGenericSecretDetailsinstance.
-
setCreatedAt
Set the createdAt of thisBckndGenericSecretDetailsinstance.- Parameters:
createdAt- Timestamp at which secret was created
-
labels
Set the labels of thisBckndGenericSecretDetailsinstance and return the same instance.- Parameters:
labels- Arbitrary labels as meta information- Returns:
- The same instance of this
BckndGenericSecretDetailsclass
-
addLabelsItem
@Nonnull public BckndGenericSecretDetails addLabelsItem(@Nonnull BckndGenericSecretLabel labelsItem) Add one labels instance to thisBckndGenericSecretDetails.- Parameters:
labelsItem- The labels that should be added- Returns:
- The same instance of type
BckndGenericSecretDetails
-
getLabels
Arbitrary labels as meta information- Returns:
- labels The labels of this
BckndGenericSecretDetailsinstance.
-
setLabels
Set the labels of thisBckndGenericSecretDetailsinstance.- Parameters:
labels- Arbitrary labels as meta information
-
resourceGroupSecretsSyncStatus
@Nonnull public BckndGenericSecretDetails resourceGroupSecretsSyncStatus(@Nullable Map<String, Boolean> resourceGroupSecretsSyncStatus) Set the resourceGroupSecretsSyncStatus of thisBckndGenericSecretDetailsinstance and return the same instance.- Parameters:
resourceGroupSecretsSyncStatus- Sync status of the replicated secrets in all resource groups of the tenant- Returns:
- The same instance of this
BckndGenericSecretDetailsclass
-
putresourceGroupSecretsSyncStatusItem
@Nonnull public BckndGenericSecretDetails putresourceGroupSecretsSyncStatusItem(@Nonnull String key, @Nonnull Boolean resourceGroupSecretsSyncStatusItem) Put one resourceGroupSecretsSyncStatus instance to thisBckndGenericSecretDetailsinstance.- Parameters:
key- The String key of this resourceGroupSecretsSyncStatus instanceresourceGroupSecretsSyncStatusItem- The resourceGroupSecretsSyncStatus that should be added under the given key- Returns:
- The same instance of type
BckndGenericSecretDetails
-
getResourceGroupSecretsSyncStatus
Sync status of the replicated secrets in all resource groups of the tenant- Returns:
- resourceGroupSecretsSyncStatus The resourceGroupSecretsSyncStatus of this
BckndGenericSecretDetailsinstance.
-
setResourceGroupSecretsSyncStatus
public void setResourceGroupSecretsSyncStatus(@Nullable Map<String, Boolean> resourceGroupSecretsSyncStatus) Set the resourceGroupSecretsSyncStatus of thisBckndGenericSecretDetailsinstance.- Parameters:
resourceGroupSecretsSyncStatus- Sync status of the replicated secrets in all resource groups of the tenant
-
getCustomFieldNames
Get the names of the unrecognizable properties of theBckndGenericSecretDetails.- 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 thisBckndGenericSecretDetailsinstance.- 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 thisBckndGenericSecretDetailsinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisBckndGenericSecretDetailsinstance. 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 newBckndGenericSecretDetailsinstance with all required arguments.
-
toMap()instead.