Package com.oracle.bmc.redis.model
Class UpdateOciCacheBackupDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.redis.model.UpdateOciCacheBackupDetails.Builder
-
- Enclosing class:
- UpdateOciCacheBackupDetails
public static class UpdateOciCacheBackupDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateOciCacheBackupDetailsbuild()UpdateOciCacheBackupDetails.Buildercopy(UpdateOciCacheBackupDetails model)UpdateOciCacheBackupDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.UpdateOciCacheBackupDetails.Builderdescription(String description)Backup descriptionUpdateOciCacheBackupDetails.BuilderdisplayName(String displayName)Backup display nameUpdateOciCacheBackupDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.UpdateOciCacheBackupDetails.BuilderretentionPeriodInDays(Integer retentionPeriodInDays)Backup retention period in days.
-
-
-
Method Detail
-
displayName
public UpdateOciCacheBackupDetails.Builder displayName(String displayName)
Backup display name- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public UpdateOciCacheBackupDetails.Builder description(String description)
Backup description- Parameters:
description- the value to set- Returns:
- this builder
-
retentionPeriodInDays
public UpdateOciCacheBackupDetails.Builder retentionPeriodInDays(Integer retentionPeriodInDays)
Backup retention period in days.- Parameters:
retentionPeriodInDays- the value to set- Returns:
- this builder
-
freeformTags
public UpdateOciCacheBackupDetails.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public UpdateOciCacheBackupDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public UpdateOciCacheBackupDetails build()
-
copy
public UpdateOciCacheBackupDetails.Builder copy(UpdateOciCacheBackupDetails model)
-
-