Class CreateProtectedDatabaseDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.recovery.model.CreateProtectedDatabaseDetails.Builder
 
- 
- Enclosing class:
- CreateProtectedDatabaseDetails
 
 public static class CreateProtectedDatabaseDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateProtectedDatabaseDetailsbuild()CreateProtectedDatabaseDetails.BuilderchangeRate(Double changeRate)The percentage of data changes that exist in the database between successive incremental backups.CreateProtectedDatabaseDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the protected database.CreateProtectedDatabaseDetails.BuildercompressionRatio(Double compressionRatio)The compression ratio of the protected database.CreateProtectedDatabaseDetails.Buildercopy(CreateProtectedDatabaseDetails model)CreateProtectedDatabaseDetails.BuilderdatabaseId(String databaseId)The OCID of the protected database.CreateProtectedDatabaseDetails.BuilderdatabaseSize(DatabaseSizes databaseSize)The size of the protected database.CreateProtectedDatabaseDetails.BuilderdatabaseSizeInGBs(Integer databaseSizeInGBs)The size of the database, in gigabytes.CreateProtectedDatabaseDetails.BuilderdbUniqueName(String dbUniqueName)The dbUniqueName of the protected database in Recovery Service.CreateProtectedDatabaseDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateProtectedDatabaseDetails.BuilderdisplayName(String displayName)The protected database name.CreateProtectedDatabaseDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateProtectedDatabaseDetails.BuilderisRedoLogsShipped(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.Builderpassword(String password)Password credential which can be used to connect to Protected Database.CreateProtectedDatabaseDetails.BuilderprotectionPolicyId(String protectionPolicyId)The OCID of the protection policy associated with the protected database.CreateProtectedDatabaseDetails.BuilderrecoveryServiceSubnets(List<RecoveryServiceSubnetInput> recoveryServiceSubnets)List of recovery service subnet resources associated with the protected database.CreateProtectedDatabaseDetails.BuildersubscriptionId(String subscriptionId)The OCID of the cloud service subscription to which you want to link the protected database.
 
- 
- 
- 
Method Detail- 
displayNamepublic CreateProtectedDatabaseDetails.Builder displayName(String displayName) The protected database name.You can change the displayName. Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
dbUniqueNamepublic CreateProtectedDatabaseDetails.Builder dbUniqueName(String dbUniqueName) The dbUniqueName of the protected database in Recovery Service.You cannot change the unique name. - Parameters:
- dbUniqueName- the value to set
- Returns:
- this builder
 
 - 
databaseSizepublic 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. - Parameters:
- databaseSize- the value to set
- Returns:
- this builder
 
 - 
passwordpublic 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. - Parameters:
- password- the value to set
- Returns:
- this builder
 
 - 
protectionPolicyIdpublic CreateProtectedDatabaseDetails.Builder protectionPolicyId(String protectionPolicyId) The OCID of the protection policy associated with the protected database.- Parameters:
- protectionPolicyId- the value to set
- Returns:
- this builder
 
 - 
recoveryServiceSubnetspublic CreateProtectedDatabaseDetails.Builder recoveryServiceSubnets(List<RecoveryServiceSubnetInput> recoveryServiceSubnets) List of recovery service subnet resources associated with the protected database.- Parameters:
- recoveryServiceSubnets- the value to set
- Returns:
- this builder
 
 - 
databaseIdpublic CreateProtectedDatabaseDetails.Builder databaseId(String databaseId) The OCID of the protected database.- Parameters:
- databaseId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic CreateProtectedDatabaseDetails.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the protected database.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
databaseSizeInGBspublic CreateProtectedDatabaseDetails.Builder databaseSizeInGBs(Integer databaseSizeInGBs) The size of the database, in gigabytes.- Parameters:
- databaseSizeInGBs- the value to set
- Returns:
- this builder
 
 - 
changeRatepublic CreateProtectedDatabaseDetails.Builder changeRate(Double changeRate) The percentage of data changes that exist in the database between successive incremental backups.- Parameters:
- changeRate- the value to set
- Returns:
- this builder
 
 - 
compressionRatiopublic 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. - Parameters:
- compressionRatio- the value to set
- Returns:
- this builder
 
 - 
isRedoLogsShippedpublic 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. - Parameters:
- isRedoLogsShipped- the value to set
- Returns:
- this builder
 
 - 
subscriptionIdpublic CreateProtectedDatabaseDetails.Builder subscriptionId(String subscriptionId) The OCID of the cloud service subscription to which you want to link the protected database.For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. - Parameters:
- subscriptionId- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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 - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateProtectedDatabaseDetails build() 
 - 
copypublic CreateProtectedDatabaseDetails.Builder copy(CreateProtectedDatabaseDetails model) 
 
- 
 
-