Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Backup.Builder |
backupSizeInGBs(Integer backupSizeInGBs)
The size of the backup in base-2 (IEC) gibibytes.
|
Backup.Builder |
backupType(Backup.BackupType backupType)
The type of backup.
|
Backup |
build() |
Backup.Builder |
compartmentId(String compartmentId)
The OCID of the compartment.
|
Backup.Builder |
copy(Backup model) |
Backup.Builder |
creationType(Backup.CreationType creationType)
Indicates how the backup was created: manually, automatic, or by an Operator.
|
Backup.Builder |
dataStorageSizeInGBs(Integer dataStorageSizeInGBs)
Initial size of the data volume in GiBs.
|
Backup.Builder |
dbSystemId(String dbSystemId)
The OCID of the DB System the backup is associated with.
|
Backup.Builder |
dbSystemSnapshot(DbSystemSnapshot dbSystemSnapshot) |
Backup.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Backup.Builder |
description(String description)
A user-supplied description for the backup.
|
Backup.Builder |
displayName(String displayName)
A user-supplied display name for the backup.
|
Backup.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
Backup.Builder |
id(String id)
OCID of the backup itself
|
Backup.Builder |
immediateSourceBackupId(String immediateSourceBackupId)
The OCID of the immediate source DB system backup from which this DB system backup was
copied.
|
Backup.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycleState.
|
Backup.Builder |
lifecycleState(Backup.LifecycleState lifecycleState)
The state of the backup.
|
Backup.Builder |
mysqlVersion(String mysqlVersion)
The MySQL server version of the DB System used for backup.
|
Backup.Builder |
originalSourceBackupId(String originalSourceBackupId)
The OCID of the original source DB system backup from which this DB system backup was
copied.
|
Backup.Builder |
retentionInDays(Integer retentionInDays)
Number of days to retain this backup.
|
Backup.Builder |
shapeName(String shapeName)
The shape of the DB System used for backup.
|
Backup.Builder |
timeCopyCreated(Date timeCopyCreated)
The date and time the DB system backup copy was created, as described by RFC
3339.
|
Backup.Builder |
timeCreated(Date timeCreated)
The time the backup record was created.
|
Backup.Builder |
timeUpdated(Date timeUpdated)
The time at which the backup was updated.
|
public Backup.Builder id(String id)
OCID of the backup itself
id
- the value to setpublic Backup.Builder displayName(String displayName)
A user-supplied display name for the backup.
displayName
- the value to setpublic Backup.Builder description(String description)
A user-supplied description for the backup.
description
- the value to setpublic Backup.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic Backup.Builder timeCreated(Date timeCreated)
The time the backup record was created.
timeCreated
- the value to setpublic Backup.Builder timeUpdated(Date timeUpdated)
The time at which the backup was updated.
timeUpdated
- the value to setpublic Backup.Builder lifecycleState(Backup.LifecycleState lifecycleState)
The state of the backup.
lifecycleState
- the value to setpublic Backup.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycleState.
lifecycleDetails
- the value to setpublic Backup.Builder backupType(Backup.BackupType backupType)
The type of backup.
backupType
- the value to setpublic Backup.Builder creationType(Backup.CreationType creationType)
Indicates how the backup was created: manually, automatic, or by an Operator.
creationType
- the value to setpublic Backup.Builder dbSystemId(String dbSystemId)
The OCID of the DB System the backup is associated with.
dbSystemId
- the value to setpublic Backup.Builder dbSystemSnapshot(DbSystemSnapshot dbSystemSnapshot)
public Backup.Builder backupSizeInGBs(Integer backupSizeInGBs)
The size of the backup in base-2 (IEC) gibibytes. (GiB).
backupSizeInGBs
- the value to setpublic Backup.Builder retentionInDays(Integer retentionInDays)
Number of days to retain this backup.
retentionInDays
- the value to setpublic Backup.Builder dataStorageSizeInGBs(Integer dataStorageSizeInGBs)
Initial size of the data volume in GiBs.
dataStorageSizeInGBs
- the value to setpublic Backup.Builder mysqlVersion(String mysqlVersion)
The MySQL server version of the DB System used for backup.
mysqlVersion
- the value to setpublic Backup.Builder shapeName(String shapeName)
The shape of the DB System used for backup.
shapeName
- the value to setpublic Backup.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 Backup.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 Backup.Builder immediateSourceBackupId(String immediateSourceBackupId)
The OCID of the immediate source DB system backup from which this DB system backup was copied.
immediateSourceBackupId
- the value to setpublic Backup.Builder originalSourceBackupId(String originalSourceBackupId)
The OCID of the original source DB system backup from which this DB system backup was copied.
originalSourceBackupId
- the value to setpublic Backup.Builder timeCopyCreated(Date timeCopyCreated)
The date and time the DB system backup copy was created, as described by RFC 3339.
timeCopyCreated
- the value to setpublic Backup build()
public Backup.Builder copy(Backup model)
Copyright © 2016–2024. All rights reserved.