Class DbStorageVaultDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.distributeddatabasev26.model.DbStorageVaultDetails.Builder
-
- Enclosing class:
- DbStorageVaultDetails
public static class DbStorageVaultDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DbStorageVaultDetails.BuilderadditionalFlashCacheInPercent(Integer additionalFlashCacheInPercent)The size of additional Flash Cache in percentage of High Capacity database storage.DbStorageVaultDetails.BuilderautoscaleLimitInGBs(Integer autoscaleLimitInGBs)The maximum limit, in gigabytes, to which the Vault storage size can automatically scale when auto scaling is enabled for the Database Storage Vault.DbStorageVaultDetailsbuild()DbStorageVaultDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment for Db Storage Vault.DbStorageVaultDetails.Buildercopy(DbStorageVaultDetails model)DbStorageVaultDetails.BuilderhighCapacityDatabaseStorage(Integer highCapacityDatabaseStorage)Total storage capacity in GB for vault storage.DbStorageVaultDetails.BuilderisAutoscaleEnabled(Boolean isAutoscaleEnabled)Indicates if autoscale feature is enabled for the Database Storage Vault.DbStorageVaultDetails.BuildersubscriptionId(String subscriptionId)The OCID of the subscription with which resource needs to be associated with.
-
-
-
Method Detail
-
compartmentId
public DbStorageVaultDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment for Db Storage Vault.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
highCapacityDatabaseStorage
public DbStorageVaultDetails.Builder highCapacityDatabaseStorage(Integer highCapacityDatabaseStorage)
Total storage capacity in GB for vault storage.- Parameters:
highCapacityDatabaseStorage- the value to set- Returns:
- this builder
-
additionalFlashCacheInPercent
public DbStorageVaultDetails.Builder additionalFlashCacheInPercent(Integer additionalFlashCacheInPercent)
The size of additional Flash Cache in percentage of High Capacity database storage.- Parameters:
additionalFlashCacheInPercent- the value to set- Returns:
- this builder
-
subscriptionId
public DbStorageVaultDetails.Builder subscriptionId(String subscriptionId)
The OCID of the subscription with which resource needs to be associated with.- Parameters:
subscriptionId- the value to set- Returns:
- this builder
-
isAutoscaleEnabled
public DbStorageVaultDetails.Builder isAutoscaleEnabled(Boolean isAutoscaleEnabled)
Indicates if autoscale feature is enabled for the Database Storage Vault.The default value is FALSE.
- Parameters:
isAutoscaleEnabled- the value to set- Returns:
- this builder
-
autoscaleLimitInGBs
public DbStorageVaultDetails.Builder autoscaleLimitInGBs(Integer autoscaleLimitInGBs)
The maximum limit, in gigabytes, to which the Vault storage size can automatically scale when auto scaling is enabled for the Database Storage Vault.- Parameters:
autoscaleLimitInGBs- the value to set- Returns:
- this builder
-
build
public DbStorageVaultDetails build()
-
copy
public DbStorageVaultDetails.Builder copy(DbStorageVaultDetails model)
-
-