Class CreateCloudVmClusterDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.database.model.CreateCloudVmClusterDetails.Builder
 
- 
- Enclosing class:
- CreateCloudVmClusterDetails
 
 public static class CreateCloudVmClusterDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateCloudVmClusterDetails.BuilderbackupNetworkNsgIds(List<String> backupNetworkNsgIds)A list of the OCIDs of the network security groups (NSGs) that the backup network of this DB system belongs to.CreateCloudVmClusterDetails.BuilderbackupSubnetId(String backupSubnetId)The OCID of the backup network subnet associated with the cloud VM cluster.CreateCloudVmClusterDetailsbuild()CreateCloudVmClusterDetails.BuildercloudAutomationUpdateDetails(CloudAutomationUpdateDetails cloudAutomationUpdateDetails)CreateCloudVmClusterDetails.BuildercloudExadataInfrastructureId(String cloudExadataInfrastructureId)The OCID of the cloud Exadata infrastructure resource.CreateCloudVmClusterDetails.BuilderclusterName(String clusterName)The cluster name for cloud VM cluster.CreateCloudVmClusterDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment.CreateCloudVmClusterDetails.Buildercopy(CreateCloudVmClusterDetails model)CreateCloudVmClusterDetails.BuildercpuCoreCount(Integer cpuCoreCount)For fixed shapes, this is the total number of OCPUs to enable across the VM cluster.CreateCloudVmClusterDetails.BuilderdataCollectionOptions(DataCollectionOptions dataCollectionOptions)CreateCloudVmClusterDetails.BuilderdataStoragePercentage(Integer dataStoragePercentage)The percentage assigned to DATA storage (user data and database files).CreateCloudVmClusterDetails.BuilderdataStorageSizeInTBs(Double dataStorageSizeInTBs)The data disk group size to be allocated in TBs.CreateCloudVmClusterDetails.BuilderdbNodeStorageSizeInGBs(Integer dbNodeStorageSizeInGBs)The local node storage to be allocated in GBs.CreateCloudVmClusterDetails.BuilderdbServers(List<String> dbServers)The list of DB servers.CreateCloudVmClusterDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateCloudVmClusterDetails.BuilderdisplayName(String displayName)The user-friendly name for the cloud VM cluster.CreateCloudVmClusterDetails.Builderdomain(String domain)A domain name used for the cloud VM cluster.CreateCloudVmClusterDetails.BuilderexascaleDbStorageVaultId(String exascaleDbStorageVaultId)The OCID of the Exadata Database Storage Vault.CreateCloudVmClusterDetails.BuilderfileSystemConfigurationDetails(List<FileSystemConfigurationDetail> fileSystemConfigurationDetails)Details of the file system configuration of the VM cluster.CreateCloudVmClusterDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreateCloudVmClusterDetails.BuildergiVersion(String giVersion)A valid Oracle Grid Infrastructure (GI) software version.CreateCloudVmClusterDetails.Builderhostname(String hostname)The hostname for the cloud VM cluster.CreateCloudVmClusterDetails.BuilderisLocalBackupEnabled(Boolean isLocalBackupEnabled)If true, database backup on local Exadata storage is configured for the cloud VM cluster.CreateCloudVmClusterDetails.BuilderisSparseDiskgroupEnabled(Boolean isSparseDiskgroupEnabled)If true, the sparse disk group is configured for the cloud VM cluster.CreateCloudVmClusterDetails.BuilderlicenseModel(CreateCloudVmClusterDetails.LicenseModel licenseModel)The Oracle license model that applies to the cloud VM cluster.CreateCloudVmClusterDetails.BuildermemorySizeInGBs(Integer memorySizeInGBs)The memory to be allocated in GBs.CreateCloudVmClusterDetails.BuildernsgIds(List<String> nsgIds)The list of OCIDs for the network security groups (NSGs) to which this resource belongs.CreateCloudVmClusterDetails.BuilderocpuCount(Float ocpuCount)The number of OCPU cores to enable for a cloud VM cluster.CreateCloudVmClusterDetails.BuilderprivateZoneId(String privateZoneId)The private zone id in which DNS records need to be created.CreateCloudVmClusterDetails.BuilderscanListenerPortTcp(Integer scanListenerPortTcp)The TCP Single Client Access Name (SCAN) port.CreateCloudVmClusterDetails.BuilderscanListenerPortTcpSsl(Integer scanListenerPortTcpSsl)The TCPS Single Client Access Name (SCAN) port.CreateCloudVmClusterDetails.BuildersecurityAttributes(Map<String,Map<String,Object>> securityAttributes)Security Attributes for this resource.CreateCloudVmClusterDetails.BuildersshPublicKeys(List<String> sshPublicKeys)The public key portion of one or more key pairs used for SSH access to the cloud VM cluster.CreateCloudVmClusterDetails.BuildersubnetId(String subnetId)The OCID of the subnet associated with the cloud VM cluster.CreateCloudVmClusterDetails.BuildersubscriptionId(String subscriptionId)The OCID of the subscription with which resource needs to be associated with.CreateCloudVmClusterDetails.BuildersystemVersion(String systemVersion)Operating system version of the image.CreateCloudVmClusterDetails.BuildertimeZone(String timeZone)The time zone to use for the cloud VM cluster.CreateCloudVmClusterDetails.BuildervmClusterType(CreateCloudVmClusterDetails.VmClusterType vmClusterType)The vmcluster type for the VM cluster/Cloud VM cluster.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic CreateCloudVmClusterDetails.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
subscriptionIdpublic CreateCloudVmClusterDetails.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
 
 - 
subnetIdpublic CreateCloudVmClusterDetails.Builder subnetId(String subnetId) The OCID of the subnet associated with the cloud VM cluster.- Parameters:
- subnetId- the value to set
- Returns:
- this builder
 
 - 
backupSubnetIdpublic CreateCloudVmClusterDetails.Builder backupSubnetId(String backupSubnetId) The OCID of the backup network subnet associated with the cloud VM cluster.- Parameters:
- backupSubnetId- the value to set
- Returns:
- this builder
 
 - 
cpuCoreCountpublic CreateCloudVmClusterDetails.Builder cpuCoreCount(Integer cpuCoreCount) For fixed shapes, this is the total number of OCPUs to enable across the VM cluster.- Exadata.Base.48 - Specify a multiple of 2, from 0 to 48. - Exadata.Quarter3.100 - Specify a multiple of 2, from 0 to 100. - Exadata.Half3.200 - Specify a multiple of 4, from 0 to 200. - Exadata.Full3.400 - Specify a multiple of 8, from 0 to 400. The API specification for fixed shape values is https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbSystemShapeSummary For flexible shapes X8M and X9M, this is the total number of OCPUs to enable across the VM cluster. The number available for the VM cluster will be based on the number of database servers selected for provisioning the VM cluster on the Exadata Infrastructure. - Exadata.X8M - Specify a multiple of 2, from 2 to 50 per X8M database server. - Exadata.X9M - Specify a multiple of 2, from 2 to 126 per X9M database server. For flexible shapes X11M and higher, this is the total number of ECPUs to enable across the VM cluster. The number available for the VM cluster will be based on the number of database servers selected for provisioning the VM cluster on the Exadata Infrastructure. - Exadata.X11M - Specify a multiple of 8, from 8 to 760 per X11M database server. The API specification for flexible shape values is https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/FlexComponentSummary - Parameters:
- cpuCoreCount- the value to set
- Returns:
- this builder
 
 - 
ocpuCountpublic CreateCloudVmClusterDetails.Builder ocpuCount(Float ocpuCount) The number of OCPU cores to enable for a cloud VM cluster.Only 1 decimal place is allowed for the fractional part. - Parameters:
- ocpuCount- the value to set
- Returns:
- this builder
 
 - 
memorySizeInGBspublic CreateCloudVmClusterDetails.Builder memorySizeInGBs(Integer memorySizeInGBs) The memory to be allocated in GBs.- Parameters:
- memorySizeInGBs- the value to set
- Returns:
- this builder
 
 - 
dbNodeStorageSizeInGBspublic CreateCloudVmClusterDetails.Builder dbNodeStorageSizeInGBs(Integer dbNodeStorageSizeInGBs) The local node storage to be allocated in GBs.- Parameters:
- dbNodeStorageSizeInGBs- the value to set
- Returns:
- this builder
 
 - 
dataStorageSizeInTBspublic CreateCloudVmClusterDetails.Builder dataStorageSizeInTBs(Double dataStorageSizeInTBs) The data disk group size to be allocated in TBs.- Parameters:
- dataStorageSizeInTBs- the value to set
- Returns:
- this builder
 
 - 
dbServerspublic CreateCloudVmClusterDetails.Builder dbServers(List<String> dbServers) The list of DB servers.- Parameters:
- dbServers- the value to set
- Returns:
- this builder
 
 - 
clusterNamepublic CreateCloudVmClusterDetails.Builder clusterName(String clusterName) The cluster name for cloud VM cluster.The cluster name must begin with an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive. - Parameters:
- clusterName- the value to set
- Returns:
- this builder
 
 - 
dataStoragePercentagepublic CreateCloudVmClusterDetails.Builder dataStoragePercentage(Integer dataStoragePercentage) The percentage assigned to DATA storage (user data and database files).The remaining percentage is assigned to RECO storage (database redo logs, archive logs, and recovery manager backups). Accepted values are 35, 40, 60 and 80. The default is 80 percent assigned to DATA storage. See Storage Configuration in the Exadata documentation for details on the impact of the configuration settings on storage. - Parameters:
- dataStoragePercentage- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic CreateCloudVmClusterDetails.Builder displayName(String displayName) The user-friendly name for the cloud VM cluster.The name does not need to be unique. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
cloudExadataInfrastructureIdpublic CreateCloudVmClusterDetails.Builder cloudExadataInfrastructureId(String cloudExadataInfrastructureId) The OCID of the cloud Exadata infrastructure resource.- Parameters:
- cloudExadataInfrastructureId- the value to set
- Returns:
- this builder
 
 - 
hostnamepublic CreateCloudVmClusterDetails.Builder hostname(String hostname) The hostname for the cloud VM cluster.The hostname must begin with an alphabetic character, and can contain alphanumeric characters and hyphens (-). The maximum length of the hostname is 16 characters for bare metal and virtual machine DB systems, and 12 characters for Exadata systems. The maximum length of the combined hostname and domain is 63 characters. *Note:** The hostname must be unique within the subnet. If it is not unique, the cloud VM Cluster will fail to provision. - Parameters:
- hostname- the value to set
- Returns:
- this builder
 
 - 
domainpublic CreateCloudVmClusterDetails.Builder domain(String domain) A domain name used for the cloud VM cluster.If the Oracle-provided internet and VCN resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. Applies to Exadata Cloud Service instances only. - Parameters:
- domain- the value to set
- Returns:
- this builder
 
 - 
sshPublicKeyspublic CreateCloudVmClusterDetails.Builder sshPublicKeys(List<String> sshPublicKeys) The public key portion of one or more key pairs used for SSH access to the cloud VM cluster.- Parameters:
- sshPublicKeys- the value to set
- Returns:
- this builder
 
 - 
licenseModelpublic CreateCloudVmClusterDetails.Builder licenseModel(CreateCloudVmClusterDetails.LicenseModel licenseModel) The Oracle license model that applies to the cloud VM cluster.The default is BRING_YOUR_OWN_LICENSE. - Parameters:
- licenseModel- the value to set
- Returns:
- this builder
 
 - 
isSparseDiskgroupEnabledpublic CreateCloudVmClusterDetails.Builder isSparseDiskgroupEnabled(Boolean isSparseDiskgroupEnabled) If true, the sparse disk group is configured for the cloud VM cluster.If false, the sparse disk group is not created. - Parameters:
- isSparseDiskgroupEnabled- the value to set
- Returns:
- this builder
 
 - 
isLocalBackupEnabledpublic CreateCloudVmClusterDetails.Builder isLocalBackupEnabled(Boolean isLocalBackupEnabled) If true, database backup on local Exadata storage is configured for the cloud VM cluster.If false, database backup on local Exadata storage is not available in the cloud VM cluster. - Parameters:
- isLocalBackupEnabled- the value to set
- Returns:
- this builder
 
 - 
timeZonepublic CreateCloudVmClusterDetails.Builder timeZone(String timeZone) The time zone to use for the cloud VM cluster.For details, see Time Zones. - Parameters:
- timeZone- the value to set
- Returns:
- this builder
 
 - 
scanListenerPortTcppublic CreateCloudVmClusterDetails.Builder scanListenerPortTcp(Integer scanListenerPortTcp) The TCP Single Client Access Name (SCAN) port.The default port is 1521. - Parameters:
- scanListenerPortTcp- the value to set
- Returns:
- this builder
 
 - 
scanListenerPortTcpSslpublic CreateCloudVmClusterDetails.Builder scanListenerPortTcpSsl(Integer scanListenerPortTcpSsl) The TCPS Single Client Access Name (SCAN) port.The default port is 2484. - Parameters:
- scanListenerPortTcpSsl- the value to set
- Returns:
- this builder
 
 - 
privateZoneIdpublic CreateCloudVmClusterDetails.Builder privateZoneId(String privateZoneId) The private zone id in which DNS records need to be created.- Parameters:
- privateZoneId- the value to set
- Returns:
- this builder
 
 - 
nsgIdspublic CreateCloudVmClusterDetails.Builder nsgIds(List<String> nsgIds) The list of OCIDs for the network security groups (NSGs) to which this resource belongs.Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see Security Rules. NsgIds restrictions: - A network security group (NSG) is optional for Autonomous AI Databases with private access. The nsgIds list can be empty. - Parameters:
- nsgIds- the value to set
- Returns:
- this builder
 
 - 
backupNetworkNsgIdspublic CreateCloudVmClusterDetails.Builder backupNetworkNsgIds(List<String> backupNetworkNsgIds) A list of the OCIDs of the network security groups (NSGs) that the backup network of this DB system belongs to.Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see Security Rules. Applicable only to Exadata systems. - Parameters:
- backupNetworkNsgIds- the value to set
- Returns:
- this builder
 
 - 
giVersionpublic CreateCloudVmClusterDetails.Builder giVersion(String giVersion) A valid Oracle Grid Infrastructure (GI) software version.- Parameters:
- giVersion- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic CreateCloudVmClusterDetails.Builder freeformTags(Map<String,String> freeformTags) Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic CreateCloudVmClusterDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
securityAttributespublic CreateCloudVmClusterDetails.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes) Security Attributes for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Oracle-ZPR”: {“MaxEgressCount”: {“value”: “42”, “mode”: “audit”}}} - Parameters:
- securityAttributes- the value to set
- Returns:
- this builder
 
 - 
dataCollectionOptionspublic CreateCloudVmClusterDetails.Builder dataCollectionOptions(DataCollectionOptions dataCollectionOptions) 
 - 
systemVersionpublic CreateCloudVmClusterDetails.Builder systemVersion(String systemVersion) Operating system version of the image.- Parameters:
- systemVersion- the value to set
- Returns:
- this builder
 
 - 
fileSystemConfigurationDetailspublic CreateCloudVmClusterDetails.Builder fileSystemConfigurationDetails(List<FileSystemConfigurationDetail> fileSystemConfigurationDetails) Details of the file system configuration of the VM cluster.- Parameters:
- fileSystemConfigurationDetails- the value to set
- Returns:
- this builder
 
 - 
cloudAutomationUpdateDetailspublic CreateCloudVmClusterDetails.Builder cloudAutomationUpdateDetails(CloudAutomationUpdateDetails cloudAutomationUpdateDetails) 
 - 
exascaleDbStorageVaultIdpublic CreateCloudVmClusterDetails.Builder exascaleDbStorageVaultId(String exascaleDbStorageVaultId) The OCID of the Exadata Database Storage Vault.- Parameters:
- exascaleDbStorageVaultId- the value to set
- Returns:
- this builder
 
 - 
vmClusterTypepublic CreateCloudVmClusterDetails.Builder vmClusterType(CreateCloudVmClusterDetails.VmClusterType vmClusterType) The vmcluster type for the VM cluster/Cloud VM cluster.- Parameters:
- vmClusterType- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateCloudVmClusterDetails build() 
 - 
copypublic CreateCloudVmClusterDetails.Builder copy(CreateCloudVmClusterDetails model) 
 
- 
 
-