public static class CreateBackupDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateBackupDetails.Builder |
backupType(CreateBackupDetails.BackupType backupType)
The type of backup.
|
CreateBackupDetails |
build() |
CreateBackupDetails.Builder |
copy(CreateBackupDetails model) |
CreateBackupDetails.Builder |
dbSystemId(String dbSystemId)
The OCID of the DB System the Backup is associated with.
|
CreateBackupDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateBackupDetails.Builder |
description(String description)
A user-supplied description for the backup.
|
CreateBackupDetails.Builder |
displayName(String displayName)
A user-supplied 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 |
retentionInDays(Integer retentionInDays)
Number of days to retain this backup.
|
public CreateBackupDetails.Builder displayName(String displayName)
A user-supplied display name for the backup.
displayName
- the value to setpublic CreateBackupDetails.Builder description(String description)
A user-supplied description for the backup.
description
- the value to setpublic CreateBackupDetails.Builder backupType(CreateBackupDetails.BackupType backupType)
The type of backup.
backupType
- the value to setpublic CreateBackupDetails.Builder dbSystemId(String dbSystemId)
The OCID of the DB System the Backup is associated with.
dbSystemId
- the value to setpublic CreateBackupDetails.Builder retentionInDays(Integer retentionInDays)
Number of days to retain this backup.
retentionInDays
- 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.