public static class DeploymentBackup.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DeploymentBackup.Builder |
backupType(DeploymentBackupType backupType)
Possible Deployment backup types.
|
DeploymentBackup.Builder |
bucketName(String bucketName)
Name of the bucket where the object is to be uploaded in the object storage
|
DeploymentBackup |
build() |
DeploymentBackup.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment being referenced.
|
DeploymentBackup.Builder |
copy(DeploymentBackup model) |
DeploymentBackup.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Tags defined for this resource.
|
DeploymentBackup.Builder |
deploymentId(String deploymentId)
The OCID of the
deployment being referenced.
|
DeploymentBackup.Builder |
deploymentType(DeploymentType deploymentType)
The type of deployment, which can be any one of the Allowed values.
|
DeploymentBackup.Builder |
displayName(String displayName)
An object’s Display Name.
|
DeploymentBackup.Builder |
freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope.
|
DeploymentBackup.Builder |
id(String id)
The OCID of the
backup being referenced.
|
DeploymentBackup.Builder |
isAutomatic(Boolean isAutomatic)
True if this object is automatically created
|
DeploymentBackup.Builder |
lifecycleDetails(String lifecycleDetails)
Describes the object’s current state in detail.
|
DeploymentBackup.Builder |
lifecycleState(LifecycleState lifecycleState)
Possible lifecycle states.
|
DeploymentBackup.Builder |
locks(List<ResourceLock> locks)
Locks associated with this resource.
|
DeploymentBackup.Builder |
namespaceName(String namespaceName)
Name of namespace that serves as a container for all of your buckets
|
DeploymentBackup.Builder |
objectName(String objectName)
Name of the object to be uploaded to object storage
|
DeploymentBackup.Builder |
oggVersion(String oggVersion)
Version of OGG
|
DeploymentBackup.Builder |
sizeInBytes(Long sizeInBytes)
The size of the backup stored in object storage (in bytes)
|
DeploymentBackup.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.
|
DeploymentBackup.Builder |
timeBackupFinished(Date timeBackupFinished)
The time of the resource backup finish.
|
DeploymentBackup.Builder |
timeCreated(Date timeCreated)
The time the resource was created.
|
DeploymentBackup.Builder |
timeOfBackup(Date timeOfBackup)
The time of the resource backup.
|
DeploymentBackup.Builder |
timeUpdated(Date timeUpdated)
The time the resource was last updated.
|
public DeploymentBackup.Builder id(String id)
The OCID of the backup being referenced.
id
- the value to setpublic DeploymentBackup.Builder deploymentId(String deploymentId)
The OCID of the deployment being referenced.
deploymentId
- the value to setpublic DeploymentBackup.Builder deploymentType(DeploymentType deploymentType)
The type of deployment, which can be any one of the Allowed values. NOTE: Use of the value ‘OGG’ is maintained for backward compatibility purposes. Its use is discouraged in favor of ‘DATABASE_ORACLE’.
deploymentType
- the value to setpublic DeploymentBackup.Builder compartmentId(String compartmentId)
The OCID of the compartment being referenced.
compartmentId
- the value to setpublic DeploymentBackup.Builder displayName(String displayName)
An object’s Display Name.
displayName
- the value to setpublic DeploymentBackup.Builder isAutomatic(Boolean isAutomatic)
True if this object is automatically created
isAutomatic
- the value to setpublic DeploymentBackup.Builder lifecycleState(LifecycleState lifecycleState)
Possible lifecycle states.
lifecycleState
- the value to setpublic DeploymentBackup.Builder lifecycleDetails(String lifecycleDetails)
Describes the object’s current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state.
lifecycleDetails
- the value to setpublic DeploymentBackup.Builder timeOfBackup(Date timeOfBackup)
The time of the resource backup. The format is defined by
RFC3339, such as 2016-08-25T21:10:29.600Z
.
timeOfBackup
- the value to setpublic DeploymentBackup.Builder timeBackupFinished(Date timeBackupFinished)
The time of the resource backup finish. The format is defined by
RFC3339, such as 2016-08-25T21:10:29.600Z
.
timeBackupFinished
- the value to setpublic DeploymentBackup.Builder sizeInBytes(Long sizeInBytes)
The size of the backup stored in object storage (in bytes)
sizeInBytes
- the value to setpublic DeploymentBackup.Builder backupType(DeploymentBackupType backupType)
Possible Deployment backup types.
backupType
- the value to setpublic DeploymentBackup.Builder oggVersion(String oggVersion)
Version of OGG
oggVersion
- the value to setpublic DeploymentBackup.Builder namespaceName(String namespaceName)
Name of namespace that serves as a container for all of your buckets
namespaceName
- the value to setpublic DeploymentBackup.Builder bucketName(String bucketName)
Name of the bucket where the object is to be uploaded in the object storage
bucketName
- the value to setpublic DeploymentBackup.Builder objectName(String objectName)
Name of the object to be uploaded to object storage
objectName
- the value to setpublic DeploymentBackup.Builder timeCreated(Date timeCreated)
The time the resource was created. The format is defined by
RFC3339, such as 2016-08-25T21:10:29.600Z
.
timeCreated
- the value to setpublic DeploymentBackup.Builder timeUpdated(Date timeUpdated)
The time the resource was last updated. The format is defined by
RFC3339, such as 2016-08-25T21:10:29.600Z
.
timeUpdated
- the value to setpublic DeploymentBackup.Builder freeformTags(Map<String,String> freeformTags)
A 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 DeploymentBackup.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Tags defined for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic DeploymentBackup.Builder systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags.
Example: {orcl-cloud: {free-tier-retain: true}}
systemTags
- the value to setpublic DeploymentBackup.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.
locks
- the value to setpublic DeploymentBackup build()
public DeploymentBackup.Builder copy(DeploymentBackup model)
Copyright © 2016–2024. All rights reserved.