Class ExadbVmCluster.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.ExadbVmCluster.Builder
-
- Enclosing class:
- ExadbVmCluster
public static class ExadbVmCluster.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExadbVmCluster.Builder
availabilityDomain(String availabilityDomain)
The name of the availability domain in which the Exadata VM cluster on Exascale Infrastructure is located.ExadbVmCluster.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.ExadbVmCluster.Builder
backupSubnetId(String backupSubnetId)
The OCID of the backup network subnet associated with the Exadata VM cluster on Exascale Infrastructure.ExadbVmCluster
build()
ExadbVmCluster.Builder
clusterName(String clusterName)
The cluster name for Exadata VM cluster on Exascale Infrastructure.ExadbVmCluster.Builder
clusterPlacementGroupId(String clusterPlacementGroupId)
The OCID of the cluster placement group of the Exadata Infrastructure.ExadbVmCluster.Builder
compartmentId(String compartmentId)
The OCID of the compartment.ExadbVmCluster.Builder
copy(ExadbVmCluster model)
ExadbVmCluster.Builder
dataCollectionOptions(DataCollectionOptions dataCollectionOptions)
ExadbVmCluster.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ExadbVmCluster.Builder
displayName(String displayName)
The user-friendly name for the Exadata VM cluster on Exascale Infrastructure.ExadbVmCluster.Builder
domain(String domain)
A domain name used for the Exadata VM cluster on Exascale Infrastructure.ExadbVmCluster.Builder
enabledECpuCount(Integer enabledECpuCount)
The number of ECPUs to enable for an Exadata VM cluster on Exascale Infrastructure.ExadbVmCluster.Builder
exascaleDbStorageVaultId(String exascaleDbStorageVaultId)
The OCID of the Exadata Database Storage Vault.ExadbVmCluster.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.ExadbVmCluster.Builder
giVersion(String giVersion)
A valid Oracle Grid Infrastructure (GI) software version.ExadbVmCluster.Builder
gridImageId(String gridImageId)
Grid Setup will be done using this grid image id.ExadbVmCluster.Builder
gridImageType(ExadbVmCluster.GridImageType gridImageType)
The type of Grid ImageExadbVmCluster.Builder
hostname(String hostname)
The hostname for the Exadata VM cluster on Exascale Infrastructure.ExadbVmCluster.Builder
id(String id)
The OCID of the Exadata VM cluster on Exascale Infrastructure.ExadbVmCluster.Builder
iormConfigCache(ExadataIormConfig iormConfigCache)
ExadbVmCluster.Builder
lastUpdateHistoryEntryId(String lastUpdateHistoryEntryId)
The OCID of the last maintenance update history entry.ExadbVmCluster.Builder
licenseModel(ExadbVmCluster.LicenseModel licenseModel)
The Oracle license model that applies to the Exadata VM cluster on Exascale Infrastructure.ExadbVmCluster.Builder
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.ExadbVmCluster.Builder
lifecycleState(ExadbVmCluster.LifecycleState lifecycleState)
The current state of the Exadata VM cluster on Exascale Infrastructure.ExadbVmCluster.Builder
listenerPort(Long listenerPort)
The port number configured for the listener on the Exadata VM cluster on Exascale Infrastructure.ExadbVmCluster.Builder
memorySizeInGBs(Integer memorySizeInGBs)
The memory that you want to be allocated in GBs.ExadbVmCluster.Builder
nodeCount(Integer nodeCount)
The number of nodes in the Exadata VM cluster on Exascale Infrastructure.ExadbVmCluster.Builder
nsgIds(List<String> nsgIds)
The list of OCIDs for the network security groups (NSGs) to which this resource belongs.ExadbVmCluster.Builder
privateZoneId(String privateZoneId)
The private zone ID in which you want DNS records to be created.ExadbVmCluster.Builder
scanDnsName(String scanDnsName)
The FQDN of the DNS record for the SCAN IP addresses that are associated with the Exadata VM cluster on Exascale Infrastructure.ExadbVmCluster.Builder
scanDnsRecordId(String scanDnsRecordId)
The OCID of the DNS record for the SCAN IP addresses that are associated with the Exadata VM cluster on Exascale Infrastructure.ExadbVmCluster.Builder
scanIpIds(List<String> scanIpIds)
The OCID of the Single Client Access Name (SCAN) IP addresses associated with the Exadata VM cluster on Exascale Infrastructure.ExadbVmCluster.Builder
scanListenerPortTcp(Integer scanListenerPortTcp)
The TCP Single Client Access Name (SCAN) port.ExadbVmCluster.Builder
scanListenerPortTcpSsl(Integer scanListenerPortTcpSsl)
The Secured Communication (TCPS) protocol Single Client Access Name (SCAN) port.ExadbVmCluster.Builder
securityAttributes(Map<String,Map<String,Object>> securityAttributes)
Security Attributes for this resource.ExadbVmCluster.Builder
shape(String shape)
The shape of the Exadata VM cluster on Exascale Infrastructure resourceExadbVmCluster.Builder
snapshotFileSystemStorage(ExadbVmClusterStorageDetails snapshotFileSystemStorage)
ExadbVmCluster.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.ExadbVmCluster.Builder
subnetId(String subnetId)
The OCID of the subnet associated with the Exadata VM cluster on Exascale Infrastructure.ExadbVmCluster.Builder
subscriptionId(String subscriptionId)
The OCID of the subscription with which resource needs to be associated with.ExadbVmCluster.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.ExadbVmCluster.Builder
systemVersion(String systemVersion)
Operating system version of the image.ExadbVmCluster.Builder
timeCreated(Date timeCreated)
The date and time that the Exadata VM cluster on Exascale Infrastructure was created.ExadbVmCluster.Builder
timeZone(String timeZone)
The time zone to use for the Exadata VM cluster on Exascale Infrastructure.ExadbVmCluster.Builder
totalECpuCount(Integer totalECpuCount)
The number of Total ECPUs for an Exadata VM cluster on Exascale Infrastructure.ExadbVmCluster.Builder
totalFileSystemStorage(ExadbVmClusterStorageDetails totalFileSystemStorage)
ExadbVmCluster.Builder
vipIds(List<String> vipIds)
The OCID of the virtual IP (VIP) addresses associated with the Exadata VM cluster on Exascale Infrastructure.ExadbVmCluster.Builder
vmFileSystemStorage(ExadbVmClusterStorageDetails vmFileSystemStorage)
ExadbVmCluster.Builder
zoneId(String zoneId)
The OCID of the zone with which the Exadata VM cluster on Exascale Infrastructure is associated.
-
-
-
Method Detail
-
iormConfigCache
public ExadbVmCluster.Builder iormConfigCache(ExadataIormConfig iormConfigCache)
-
id
public ExadbVmCluster.Builder id(String id)
The OCID of the Exadata VM cluster on Exascale Infrastructure.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public ExadbVmCluster.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
availabilityDomain
public ExadbVmCluster.Builder availabilityDomain(String availabilityDomain)
The name of the availability domain in which the Exadata VM cluster on Exascale Infrastructure is located.- Parameters:
availabilityDomain
- the value to set- Returns:
- this builder
-
subnetId
public ExadbVmCluster.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 ExadbVmCluster.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
-
nsgIds
public ExadbVmCluster.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 Databases with private access. The nsgIds list can be empty.
- Parameters:
nsgIds
- the value to set- Returns:
- this builder
-
backupNetworkNsgIds
public ExadbVmCluster.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
-
lastUpdateHistoryEntryId
public ExadbVmCluster.Builder lastUpdateHistoryEntryId(String lastUpdateHistoryEntryId)
The OCID of the last maintenance update history entry.This value is updated when a maintenance update starts.
- Parameters:
lastUpdateHistoryEntryId
- the value to set- Returns:
- this builder
-
listenerPort
public ExadbVmCluster.Builder listenerPort(Long listenerPort)
The port number configured for the listener on the Exadata VM cluster on Exascale Infrastructure.- Parameters:
listenerPort
- the value to set- Returns:
- this builder
-
lifecycleState
public ExadbVmCluster.Builder lifecycleState(ExadbVmCluster.LifecycleState lifecycleState)
The current state of the Exadata VM cluster on Exascale Infrastructure.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
nodeCount
public ExadbVmCluster.Builder nodeCount(Integer nodeCount)
The number of nodes in the Exadata VM cluster on Exascale Infrastructure.- Parameters:
nodeCount
- the value to set- Returns:
- this builder
-
shape
public ExadbVmCluster.Builder shape(String shape)
The shape of the Exadata VM cluster on Exascale Infrastructure resource- Parameters:
shape
- the value to set- Returns:
- this builder
-
displayName
public ExadbVmCluster.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
-
timeCreated
public ExadbVmCluster.Builder timeCreated(Date timeCreated)
The date and time that the Exadata VM cluster on Exascale Infrastructure was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
lifecycleDetails
public ExadbVmCluster.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
timeZone
public ExadbVmCluster.Builder timeZone(String timeZone)
The time zone to use for the Exadata VM cluster on Exascale Infrastructure.For details, see Time Zones.
- Parameters:
timeZone
- the value to set- Returns:
- this builder
-
hostname
public ExadbVmCluster.Builder hostname(String hostname)
The hostname for the Exadata VM cluster on Exascale Infrastructure.The hostname must begin with an alphabetic character, and can contain alphanumeric characters and hyphens (-). For Exadata systems, the maximum length of the hostname is 12 characters.
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, then the Exadata VM cluster on Exascale Infrastructure will fail to provision.
- Parameters:
hostname
- the value to set- Returns:
- this builder
-
domain
public ExadbVmCluster.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
-
clusterName
public ExadbVmCluster.Builder clusterName(String clusterName)
The cluster name for Exadata VM cluster on Exascale Infrastructure.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
-
giVersion
public ExadbVmCluster.Builder giVersion(String giVersion)
A valid Oracle Grid Infrastructure (GI) software version.- Parameters:
giVersion
- the value to set- Returns:
- this builder
-
gridImageId
public ExadbVmCluster.Builder gridImageId(String gridImageId)
Grid Setup will be done using this grid image id.The grid image ID can be obtained using the API /20160918/giVersions/{majorVersion}/minorVersions?compartmentId=
&shapeFamily=EXADB_XS&availabilityDomain= . The list of supported major versions can be obtained using the API /20160918/giVersions?compartmentId= &shape=ExaDbXS&availabilityDomain= - Parameters:
gridImageId
- the value to set- Returns:
- this builder
-
gridImageType
public ExadbVmCluster.Builder gridImageType(ExadbVmCluster.GridImageType gridImageType)
The type of Grid Image- Parameters:
gridImageType
- the value to set- Returns:
- this builder
-
systemVersion
public ExadbVmCluster.Builder systemVersion(String systemVersion)
Operating system version of the image.- Parameters:
systemVersion
- the value to set- Returns:
- this builder
-
sshPublicKeys
public ExadbVmCluster.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 ExadbVmCluster.Builder licenseModel(ExadbVmCluster.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
-
scanIpIds
public ExadbVmCluster.Builder scanIpIds(List<String> scanIpIds)
The OCID of the Single Client Access Name (SCAN) IP addresses associated with the Exadata VM cluster on Exascale Infrastructure.SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster.
*Note:** For a single-node DB system, this list is empty.
- Parameters:
scanIpIds
- the value to set- Returns:
- this builder
-
vipIds
public ExadbVmCluster.Builder vipIds(List<String> vipIds)
The OCID of the virtual IP (VIP) addresses associated with the Exadata VM cluster on Exascale Infrastructure.The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the Exadata Cloud Service instance to enable failover. If one node fails, then the VIP is reassigned to another active node in the cluster.
- Parameters:
vipIds
- the value to set- Returns:
- this builder
-
scanDnsRecordId
public ExadbVmCluster.Builder scanDnsRecordId(String scanDnsRecordId)
The OCID of the DNS record for the SCAN IP addresses that are associated with the Exadata VM cluster on Exascale Infrastructure.- Parameters:
scanDnsRecordId
- the value to set- Returns:
- this builder
-
freeformTags
public ExadbVmCluster.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
-
definedTags
public ExadbVmCluster.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
-
securityAttributes
public ExadbVmCluster.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
-
systemTags
public ExadbVmCluster.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
scanDnsName
public ExadbVmCluster.Builder scanDnsName(String scanDnsName)
The FQDN of the DNS record for the SCAN IP addresses that are associated with the Exadata VM cluster on Exascale Infrastructure.- Parameters:
scanDnsName
- the value to set- Returns:
- this builder
-
zoneId
public ExadbVmCluster.Builder zoneId(String zoneId)
The OCID of the zone with which the Exadata VM cluster on Exascale Infrastructure is associated.- Parameters:
zoneId
- the value to set- Returns:
- this builder
-
scanListenerPortTcp
public ExadbVmCluster.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
-
scanListenerPortTcpSsl
public ExadbVmCluster.Builder scanListenerPortTcpSsl(Integer scanListenerPortTcpSsl)
The Secured Communication (TCPS) protocol Single Client Access Name (SCAN) port.The default port is 2484.
- Parameters:
scanListenerPortTcpSsl
- the value to set- Returns:
- this builder
-
privateZoneId
public ExadbVmCluster.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
-
dataCollectionOptions
public ExadbVmCluster.Builder dataCollectionOptions(DataCollectionOptions dataCollectionOptions)
-
totalECpuCount
public ExadbVmCluster.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
-
enabledECpuCount
public ExadbVmCluster.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
-
vmFileSystemStorage
public ExadbVmCluster.Builder vmFileSystemStorage(ExadbVmClusterStorageDetails vmFileSystemStorage)
-
snapshotFileSystemStorage
public ExadbVmCluster.Builder snapshotFileSystemStorage(ExadbVmClusterStorageDetails snapshotFileSystemStorage)
-
totalFileSystemStorage
public ExadbVmCluster.Builder totalFileSystemStorage(ExadbVmClusterStorageDetails totalFileSystemStorage)
-
exascaleDbStorageVaultId
public ExadbVmCluster.Builder exascaleDbStorageVaultId(String exascaleDbStorageVaultId)
The OCID of the Exadata Database Storage Vault.- Parameters:
exascaleDbStorageVaultId
- the value to set- Returns:
- this builder
-
memorySizeInGBs
public ExadbVmCluster.Builder memorySizeInGBs(Integer memorySizeInGBs)
The memory that you want to be allocated in GBs.Memory is calculated based on 11 GB per VM core reserved.
- Parameters:
memorySizeInGBs
- the value to set- Returns:
- this builder
-
clusterPlacementGroupId
public ExadbVmCluster.Builder clusterPlacementGroupId(String clusterPlacementGroupId)
The OCID of the cluster placement group of the Exadata Infrastructure.- Parameters:
clusterPlacementGroupId
- the value to set- Returns:
- this builder
-
subscriptionId
public ExadbVmCluster.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
-
build
public ExadbVmCluster build()
-
copy
public ExadbVmCluster.Builder copy(ExadbVmCluster model)
-
-