public static class CreateBackupDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateBackupDetails |
build() |
CreateBackupDetails.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment that contains the backup.
|
CreateBackupDetails.Builder |
copy(CreateBackupDetails model) |
CreateBackupDetails.Builder |
dbSystemId(String dbSystemId)
The ID of the database system.
|
CreateBackupDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateBackupDetails.Builder |
description(String description)
A description for the backup.
|
CreateBackupDetails.Builder |
displayName(String displayName)
A user-friendly display name for the backup.
|
CreateBackupDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateBackupDetails.Builder |
retentionPeriod(Integer retentionPeriod)
Backup retention period in days.
|
public CreateBackupDetails.Builder displayName(String displayName)
A user-friendly display name for the backup. Avoid entering confidential information.
displayName
- the value to setpublic CreateBackupDetails.Builder description(String description)
A description for the backup.
description
- the value to setpublic CreateBackupDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the backup.
compartmentId
- the value to setpublic CreateBackupDetails.Builder dbSystemId(String dbSystemId)
The ID of the database system.
dbSystemId
- the value to setpublic CreateBackupDetails.Builder retentionPeriod(Integer retentionPeriod)
Backup retention period in days.
retentionPeriod
- the value to setpublic CreateBackupDetails.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"}
freeformTags
- the value to setpublic CreateBackupDetails.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"}}
definedTags
- the value to setpublic CreateBackupDetails build()
public CreateBackupDetails.Builder copy(CreateBackupDetails model)
Copyright © 2016–2024. All rights reserved.