Package com.oracle.bmc.recovery.model
Class UpdateLongTermBackupDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.recovery.model.UpdateLongTermBackupDetails.Builder
-
- Enclosing class:
- UpdateLongTermBackupDetails
public static class UpdateLongTermBackupDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateLongTermBackupDetailsbuild()UpdateLongTermBackupDetails.Buildercopy(UpdateLongTermBackupDetails model)UpdateLongTermBackupDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.UpdateLongTermBackupDetails.BuilderdisplayName(String displayName)A user provided name for the long term backup.UpdateLongTermBackupDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.UpdateLongTermBackupDetails.BuilderretentionPeriod(List<RetentionPeriodValue> retentionPeriod)The maximum period to retain the long-term backup.
-
-
-
Method Detail
-
displayName
public UpdateLongTermBackupDetails.Builder displayName(String displayName)
A user provided name for the long term backup.The ‘displayName’ does not have to be unique, and it can be modified. Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
retentionPeriod
public UpdateLongTermBackupDetails.Builder retentionPeriod(List<RetentionPeriodValue> retentionPeriod)
The maximum period to retain the long-term backup.Specify the retention period type and the duration for the long-term backup. If you have chosen the retention period type as ‘DAYS’, then specify a duration ranging from 90 days to 3650 days. If you have chosen the retention period type as ‘YEARS’, then specify a duration ranging from 1 year to 10 years.
- Parameters:
retentionPeriod- the value to set- Returns:
- this builder
-
freeformTags
public UpdateLongTermBackupDetails.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 UpdateLongTermBackupDetails.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”}}. For more information, see Resource Tags
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public UpdateLongTermBackupDetails build()
-
copy
public UpdateLongTermBackupDetails.Builder copy(UpdateLongTermBackupDetails model)
-
-