public static class CreateProtectedDatabaseDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateProtectedDatabaseDetails |
build() |
CreateProtectedDatabaseDetails.Builder |
changeRate(Double changeRate)
The percentage of data changes that exist in the database between successive incremental
backups.
|
CreateProtectedDatabaseDetails.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the protected database.
|
CreateProtectedDatabaseDetails.Builder |
compressionRatio(Double compressionRatio)
The compression ratio of the protected database.
|
CreateProtectedDatabaseDetails.Builder |
copy(CreateProtectedDatabaseDetails model) |
CreateProtectedDatabaseDetails.Builder |
databaseId(String databaseId)
The OCID of the protected database.
|
CreateProtectedDatabaseDetails.Builder |
databaseSize(DatabaseSizes databaseSize)
The size of the protected database.
|
CreateProtectedDatabaseDetails.Builder |
databaseSizeInGBs(Integer databaseSizeInGBs)
The size of the database, in gigabytes.
|
CreateProtectedDatabaseDetails.Builder |
dbUniqueName(String dbUniqueName)
The dbUniqueName of the protected database in Recovery Service.
|
CreateProtectedDatabaseDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateProtectedDatabaseDetails.Builder |
displayName(String displayName)
The protected database name.
|
CreateProtectedDatabaseDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateProtectedDatabaseDetails.Builder |
isRedoLogsShipped(Boolean isRedoLogsShipped)
The value TRUE indicates that the protected database is configured to use Real-time data
protection, and redo-data is sent from the protected database to Recovery Service.
|
CreateProtectedDatabaseDetails.Builder |
password(String password)
Password credential which can be used to connect to Protected Database.
|
CreateProtectedDatabaseDetails.Builder |
protectionPolicyId(String protectionPolicyId)
The OCID of the protection policy associated with the protected database.
|
CreateProtectedDatabaseDetails.Builder |
recoveryServiceSubnets(List<RecoveryServiceSubnetInput> recoveryServiceSubnets)
List of recovery service subnet resources associated with the protected database.
|
public CreateProtectedDatabaseDetails.Builder displayName(String displayName)
The protected database name. You can change the displayName. Avoid entering confidential information.
displayName
- the value to setpublic CreateProtectedDatabaseDetails.Builder dbUniqueName(String dbUniqueName)
The dbUniqueName of the protected database in Recovery Service. You cannot change the unique name.
dbUniqueName
- the value to setpublic CreateProtectedDatabaseDetails.Builder databaseSize(DatabaseSizes databaseSize)
The size of the protected database. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.
databaseSize
- the value to setpublic CreateProtectedDatabaseDetails.Builder password(String password)
Password credential which can be used to connect to Protected Database. It must contain at least 2 uppercase, 2 lowercase, 2 numeric and 2 special characters. The special characters must be underscore (_), number sign (#) or hyphen (-). The password must not contain the username “admin”, regardless of casing.
password
- the value to setpublic CreateProtectedDatabaseDetails.Builder protectionPolicyId(String protectionPolicyId)
The OCID of the protection policy associated with the protected database.
protectionPolicyId
- the value to setpublic CreateProtectedDatabaseDetails.Builder recoveryServiceSubnets(List<RecoveryServiceSubnetInput> recoveryServiceSubnets)
List of recovery service subnet resources associated with the protected database.
recoveryServiceSubnets
- the value to setpublic CreateProtectedDatabaseDetails.Builder databaseId(String databaseId)
The OCID of the protected database.
databaseId
- the value to setpublic CreateProtectedDatabaseDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the protected database.
compartmentId
- the value to setpublic CreateProtectedDatabaseDetails.Builder databaseSizeInGBs(Integer databaseSizeInGBs)
The size of the database, in gigabytes.
databaseSizeInGBs
- the value to setpublic CreateProtectedDatabaseDetails.Builder changeRate(Double changeRate)
The percentage of data changes that exist in the database between successive incremental backups.
changeRate
- the value to setpublic CreateProtectedDatabaseDetails.Builder compressionRatio(Double compressionRatio)
The compression ratio of the protected database. The compression ratio represents the ratio of compressed block size to expanded block size.
compressionRatio
- the value to setpublic CreateProtectedDatabaseDetails.Builder isRedoLogsShipped(Boolean isRedoLogsShipped)
The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.
isRedoLogsShipped
- the value to setpublic CreateProtectedDatabaseDetails.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 CreateProtectedDatabaseDetails.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"}}
. For more information, see
Resource
Tags
definedTags
- the value to setpublic CreateProtectedDatabaseDetails build()
public CreateProtectedDatabaseDetails.Builder copy(CreateProtectedDatabaseDetails model)
Copyright © 2016–2024. All rights reserved.