Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Backup.Builder |
backupSize(Integer backupSize)
The size of the backup, in gigabytes.
|
Backup |
build() |
Backup.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment that contains the backup.
|
Backup.Builder |
copy(Backup model) |
Backup.Builder |
dbSystemDetails(DbSystemDetails dbSystemDetails) |
Backup.Builder |
dbSystemId(String dbSystemId)
The OCID of the
backup’s source database system.
|
Backup.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Backup.Builder |
description(String description)
A description for the backup.
|
Backup.Builder |
displayName(String displayName)
A user-friendly 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)
The OCID of the
backup.
|
Backup.Builder |
lastAcceptedRequestToken(String lastAcceptedRequestToken)
lastAcceptedRequestToken from MP.
|
Backup.Builder |
lastCompletedRequestToken(String lastCompletedRequestToken)
lastCompletedRequestToken from MP.
|
Backup.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
Backup.Builder |
lifecycleState(Backup.LifecycleState lifecycleState)
The current state of the backup.
|
Backup.Builder |
retentionPeriod(Integer retentionPeriod)
Backup retention period in days.
|
Backup.Builder |
sourceType(Backup.SourceType sourceType)
Specifies whether the backup was created manually, or by a management policy.
|
Backup.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
Backup.Builder |
timeCreated(Date timeCreated)
The date and time the backup request was received, expressed in RFC
3339 timestamp format.
|
Backup.Builder |
timeUpdated(Date timeUpdated)
The date and time the backup was updated, expressed in RFC
3339 timestamp format.
|
public Backup.Builder id(String id)
The OCID of the backup.
id
- the value to setpublic Backup.Builder displayName(String displayName)
A user-friendly display name for the backup. Avoid entering confidential information.
displayName
- the value to setpublic Backup.Builder description(String description)
A description for the backup.
description
- the value to setpublic Backup.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the backup.
compartmentId
- the value to setpublic Backup.Builder sourceType(Backup.SourceType sourceType)
Specifies whether the backup was created manually, or by a management policy.
sourceType
- the value to setpublic Backup.Builder timeCreated(Date timeCreated)
The date and time the backup request was received, expressed in RFC 3339 timestamp format.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic Backup.Builder timeUpdated(Date timeUpdated)
The date and time the backup was updated, expressed in RFC 3339 timestamp format.
Example: 2016-08-25T21:10:29.600Z
timeUpdated
- the value to setpublic Backup.Builder lifecycleState(Backup.LifecycleState lifecycleState)
The current state of the backup.
lifecycleState
- the value to setpublic Backup.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
lifecycleDetails
- the value to setpublic Backup.Builder retentionPeriod(Integer retentionPeriod)
Backup retention period in days.
retentionPeriod
- the value to setpublic Backup.Builder backupSize(Integer backupSize)
The size of the backup, in gigabytes.
backupSize
- the value to setpublic Backup.Builder dbSystemId(String dbSystemId)
The OCID of the backup’s source database system.
dbSystemId
- the value to setpublic Backup.Builder dbSystemDetails(DbSystemDetails dbSystemDetails)
public Backup.Builder lastAcceptedRequestToken(String lastAcceptedRequestToken)
lastAcceptedRequestToken from MP.
lastAcceptedRequestToken
- the value to setpublic Backup.Builder lastCompletedRequestToken(String lastCompletedRequestToken)
lastCompletedRequestToken from MP.
lastCompletedRequestToken
- 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 systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic Backup build()
public Backup.Builder copy(Backup model)
Copyright © 2016–2024. All rights reserved.