Class DeploymentBackup.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.DeploymentBackup.Builder
-
- Enclosing class:
- DeploymentBackup
public static class DeploymentBackup.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentBackup.Builder
backupSourceType(DeploymentBackup.BackupSourceType backupSourceType)
Possible deployment backup source types.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 storageDeploymentBackup
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 createdDeploymentBackup.Builder
isMetadataOnly(Boolean isMetadataOnly)
Parameter to allow users to create backup without trailsDeploymentBackup.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 bucketsDeploymentBackup.Builder
objectName(String objectName)
Name of the object to be uploaded to object storageDeploymentBackup.Builder
oggVersion(String oggVersion)
Version of OGGDeploymentBackup.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.
-
-
-
Method Detail
-
id
public DeploymentBackup.Builder id(String id)
The OCID of the backup being referenced.- Parameters:
id
- the value to set- Returns:
- this builder
-
deploymentId
public DeploymentBackup.Builder deploymentId(String deploymentId)
The OCID of the deployment being referenced.- Parameters:
deploymentId
- the value to set- Returns:
- this builder
-
deploymentType
public 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’.
- Parameters:
deploymentType
- the value to set- Returns:
- this builder
-
compartmentId
public DeploymentBackup.Builder compartmentId(String compartmentId)
The OCID of the compartment being referenced.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public DeploymentBackup.Builder displayName(String displayName)
An object’s Display Name.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
isAutomatic
public DeploymentBackup.Builder isAutomatic(Boolean isAutomatic)
True if this object is automatically created- Parameters:
isAutomatic
- the value to set- Returns:
- this builder
-
backupSourceType
public DeploymentBackup.Builder backupSourceType(DeploymentBackup.BackupSourceType backupSourceType)
Possible deployment backup source types.- Parameters:
backupSourceType
- the value to set- Returns:
- this builder
-
lifecycleState
public DeploymentBackup.Builder lifecycleState(LifecycleState lifecycleState)
Possible lifecycle states.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public 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.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
timeOfBackup
public 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.
- Parameters:
timeOfBackup
- the value to set- Returns:
- this builder
-
timeBackupFinished
public 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.
- Parameters:
timeBackupFinished
- the value to set- Returns:
- this builder
-
sizeInBytes
public DeploymentBackup.Builder sizeInBytes(Long sizeInBytes)
The size of the backup stored in object storage (in bytes)- Parameters:
sizeInBytes
- the value to set- Returns:
- this builder
-
backupType
public DeploymentBackup.Builder backupType(DeploymentBackupType backupType)
Possible Deployment backup types.- Parameters:
backupType
- the value to set- Returns:
- this builder
-
oggVersion
public DeploymentBackup.Builder oggVersion(String oggVersion)
Version of OGG- Parameters:
oggVersion
- the value to set- Returns:
- this builder
-
namespaceName
public DeploymentBackup.Builder namespaceName(String namespaceName)
Name of namespace that serves as a container for all of your buckets- Parameters:
namespaceName
- the value to set- Returns:
- this builder
-
bucketName
public DeploymentBackup.Builder bucketName(String bucketName)
Name of the bucket where the object is to be uploaded in the object storage- Parameters:
bucketName
- the value to set- Returns:
- this builder
-
objectName
public DeploymentBackup.Builder objectName(String objectName)
Name of the object to be uploaded to object storage- Parameters:
objectName
- the value to set- Returns:
- this builder
-
timeCreated
public 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.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public 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.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
freeformTags
public 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"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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"}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public 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}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
isMetadataOnly
public DeploymentBackup.Builder isMetadataOnly(Boolean isMetadataOnly)
Parameter to allow users to create backup without trails- Parameters:
isMetadataOnly
- the value to set- Returns:
- this builder
-
locks
public DeploymentBackup.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks
- the value to set- Returns:
- this builder
-
build
public DeploymentBackup build()
-
copy
public DeploymentBackup.Builder copy(DeploymentBackup model)
-
-