Class DistributedDbVmCluster.Builder
- java.lang.Object
-
- com.oracle.bmc.distributeddatabase.model.DistributedDbVmCluster.Builder
-
- Enclosing class:
- DistributedDbVmCluster
public static class DistributedDbVmCluster.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DistributedDbVmCluster.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.DistributedDbVmCluster.BuilderbackupSubnetId(String backupSubnetId)The OCID of the backup network subnet associated with the Exadata VM cluster on Exascale Infrastructure.DistributedDbVmClusterbuild()DistributedDbVmCluster.Buildercopy(DistributedDbVmCluster model)DistributedDbVmCluster.BuilderdisplayName(String displayName)The user-friendly name for the Exadata VM cluster on Exascale Infrastructure.DistributedDbVmCluster.Builderdomain(String domain)A domain name used for the Exadata VM cluster on Exascale Infrastructure.DistributedDbVmCluster.BuilderenabledECpuCount(Integer enabledECpuCount)The number of ECPUs to enable for an Exadata VM cluster on Exascale Infrastructure.DistributedDbVmCluster.BuilderisDiagnosticsEventsEnabled(Boolean isDiagnosticsEventsEnabled)Indicates whether diagnostic collection is enabled for the VM cluster.DistributedDbVmCluster.BuilderisHealthMonitoringEnabled(Boolean isHealthMonitoringEnabled)Indicates whether health monitoring is enabled for the VM cluster.DistributedDbVmCluster.BuilderisIncidentLogsEnabled(Boolean isIncidentLogsEnabled)Indicates whether incident logs and trace collection are enabled for the VM cluster.DistributedDbVmCluster.BuilderlicenseModel(DistributedDbVmCluster.LicenseModel licenseModel)The Oracle license model that applies to the Exadata VM cluster on Exascale Infrastructure.DistributedDbVmCluster.BuildernsgIds(List<String> nsgIds)The list of OCIDs for the network security groups (NSGs) to which this resource belongs.DistributedDbVmCluster.BuilderprivateZoneId(String privateZoneId)The private zone ID in which you want DNS records to be created.DistributedDbVmCluster.BuildersshPublicKeys(List<String> sshPublicKeys)The public key portion of one or more key pairs used for SSH access to the Exadata VM cluster on Exascale Infrastructure.DistributedDbVmCluster.BuildersubnetId(String subnetId)The OCID of the subnet associated with the Exadata VM cluster on Exascale Infrastructure.DistributedDbVmCluster.BuildertotalECpuCount(Integer totalECpuCount)The number of Total ECPUs for an Exadata VM cluster on Exascale Infrastructure.DistributedDbVmCluster.BuildervmClusterId(String vmClusterId)The OCID of the Exadata VM cluster on Exascale Infrastructure.DistributedDbVmCluster.BuildervmFileSystemStorageSize(Integer vmFileSystemStorageSize)File System Storage Size in GBs for Exadata VM cluster.
-
-
-
Method Detail
-
vmClusterId
public DistributedDbVmCluster.Builder vmClusterId(String vmClusterId)
The OCID of the Exadata VM cluster on Exascale Infrastructure.- Parameters:
vmClusterId- the value to set- Returns:
- this builder
-
displayName
public DistributedDbVmCluster.Builder displayName(String displayName)
The user-friendly name for the Exadata VM cluster on Exascale Infrastructure.The name does not need to be unique.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
subnetId
public DistributedDbVmCluster.Builder subnetId(String subnetId)
The OCID of the subnet associated with the Exadata VM cluster on Exascale Infrastructure.- Parameters:
subnetId- the value to set- Returns:
- this builder
-
backupSubnetId
public DistributedDbVmCluster.Builder backupSubnetId(String backupSubnetId)
The OCID of the backup network subnet associated with the Exadata VM cluster on Exascale Infrastructure.- Parameters:
backupSubnetId- the value to set- Returns:
- this builder
-
enabledECpuCount
public DistributedDbVmCluster.Builder enabledECpuCount(Integer enabledECpuCount)
The number of ECPUs to enable for an Exadata VM cluster on Exascale Infrastructure.- Parameters:
enabledECpuCount- the value to set- Returns:
- this builder
-
totalECpuCount
public DistributedDbVmCluster.Builder totalECpuCount(Integer totalECpuCount)
The number of Total ECPUs for an Exadata VM cluster on Exascale Infrastructure.- Parameters:
totalECpuCount- the value to set- Returns:
- this builder
-
vmFileSystemStorageSize
public DistributedDbVmCluster.Builder vmFileSystemStorageSize(Integer vmFileSystemStorageSize)
File System Storage Size in GBs for Exadata VM cluster.- Parameters:
vmFileSystemStorageSize- the value to set- Returns:
- this builder
-
sshPublicKeys
public DistributedDbVmCluster.Builder sshPublicKeys(List<String> sshPublicKeys)
The public key portion of one or more key pairs used for SSH access to the Exadata VM cluster on Exascale Infrastructure.- Parameters:
sshPublicKeys- the value to set- Returns:
- this builder
-
licenseModel
public DistributedDbVmCluster.Builder licenseModel(DistributedDbVmCluster.LicenseModel licenseModel)
The Oracle license model that applies to the Exadata VM cluster on Exascale Infrastructure.The default is BRING_YOUR_OWN_LICENSE.
- Parameters:
licenseModel- the value to set- Returns:
- this builder
-
domain
public DistributedDbVmCluster.Builder domain(String domain)
A domain name used for the Exadata VM cluster on Exascale Infrastructure.If the Oracle-provided internet and VCN resolver is enabled for the specified subnet, then 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 Database Service on Exascale Infrastructure only.
- Parameters:
domain- the value to set- Returns:
- this builder
-
privateZoneId
public DistributedDbVmCluster.Builder privateZoneId(String privateZoneId)
The private zone ID in which you want DNS records to be created.- Parameters:
privateZoneId- the value to set- Returns:
- this builder
-
nsgIds
public DistributedDbVmCluster.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.
- Parameters:
nsgIds- the value to set- Returns:
- this builder
-
backupNetworkNsgIds
public DistributedDbVmCluster.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
-
isDiagnosticsEventsEnabled
public DistributedDbVmCluster.Builder isDiagnosticsEventsEnabled(Boolean isDiagnosticsEventsEnabled)
Indicates whether diagnostic collection is enabled for the VM cluster.Enabling diagnostic collection allows you to receive Events service notifications for guest VM issues. Diagnostic collection also allows Oracle to provide enhanced service and proactive support for your Exadata system. You can enable diagnostic collection during VM cluster provisioning. You can also disable or enable it at any time using the UpdateVmCluster API.
- Parameters:
isDiagnosticsEventsEnabled- the value to set- Returns:
- this builder
-
isHealthMonitoringEnabled
public DistributedDbVmCluster.Builder isHealthMonitoringEnabled(Boolean isHealthMonitoringEnabled)
Indicates whether health monitoring is enabled for the VM cluster.Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel. You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system. Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the UpdateVmCluster API.
- Parameters:
isHealthMonitoringEnabled- the value to set- Returns:
- this builder
-
isIncidentLogsEnabled
public DistributedDbVmCluster.Builder isIncidentLogsEnabled(Boolean isIncidentLogsEnabled)
Indicates whether incident logs and trace collection are enabled for the VM cluster.Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them. Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the UpdateVmCluster API.
- Parameters:
isIncidentLogsEnabled- the value to set- Returns:
- this builder
-
build
public DistributedDbVmCluster build()
-
copy
public DistributedDbVmCluster.Builder copy(DistributedDbVmCluster model)
-
-