Class ExadbVmClusterSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.ExadbVmClusterSummary.Builder
-
- Enclosing class:
- ExadbVmClusterSummary
public static class ExadbVmClusterSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExadbVmClusterSummary.Builder
availabilityDomain(String availabilityDomain)
The name of the availability domain in which the Exadata VM cluster on Exascale Infrastructure is located.ExadbVmClusterSummary.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.ExadbVmClusterSummary.Builder
backupSubnetId(String backupSubnetId)
The OCID of the backup network subnet associated with the Exadata VM cluster on Exascale Infrastructure.ExadbVmClusterSummary
build()
ExadbVmClusterSummary.Builder
clusterName(String clusterName)
The cluster name for Exadata VM cluster on Exascale Infrastructure.ExadbVmClusterSummary.Builder
clusterPlacementGroupId(String clusterPlacementGroupId)
The OCID of the cluster placement group of the Exadata Infrastructure.ExadbVmClusterSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment.ExadbVmClusterSummary.Builder
copy(ExadbVmClusterSummary model)
ExadbVmClusterSummary.Builder
dataCollectionOptions(DataCollectionOptions dataCollectionOptions)
ExadbVmClusterSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ExadbVmClusterSummary.Builder
displayName(String displayName)
The user-friendly name for the Exadata VM cluster on Exascale Infrastructure.ExadbVmClusterSummary.Builder
domain(String domain)
A domain name used for the Exadata VM cluster on Exascale Infrastructure.ExadbVmClusterSummary.Builder
enabledECpuCount(Integer enabledECpuCount)
The number of ECPUs to enable for an Exadata VM cluster on Exascale Infrastructure.ExadbVmClusterSummary.Builder
exascaleDbStorageVaultId(String exascaleDbStorageVaultId)
The OCID of the Exadata Database Storage Vault.ExadbVmClusterSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.ExadbVmClusterSummary.Builder
giVersion(String giVersion)
A valid Oracle Grid Infrastructure (GI) software version.ExadbVmClusterSummary.Builder
gridImageId(String gridImageId)
Grid Setup will be done using this grid image id.ExadbVmClusterSummary.Builder
gridImageType(ExadbVmClusterSummary.GridImageType gridImageType)
The type of Grid ImageExadbVmClusterSummary.Builder
hostname(String hostname)
The hostname for the Exadata VM cluster on Exascale Infrastructure.ExadbVmClusterSummary.Builder
id(String id)
The OCID of the Exadata VM cluster on Exascale Infrastructure.ExadbVmClusterSummary.Builder
lastUpdateHistoryEntryId(String lastUpdateHistoryEntryId)
The OCID of the last maintenance update history entry.ExadbVmClusterSummary.Builder
licenseModel(ExadbVmClusterSummary.LicenseModel licenseModel)
The Oracle license model that applies to the Exadata VM cluster on Exascale Infrastructure.ExadbVmClusterSummary.Builder
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.ExadbVmClusterSummary.Builder
lifecycleState(ExadbVmClusterSummary.LifecycleState lifecycleState)
The current state of the Exadata VM cluster on Exascale Infrastructure.ExadbVmClusterSummary.Builder
listenerPort(Long listenerPort)
The port number configured for the listener on the Exadata VM cluster on Exascale Infrastructure.ExadbVmClusterSummary.Builder
memorySizeInGBs(Integer memorySizeInGBs)
The memory that you want to be allocated in GBs.ExadbVmClusterSummary.Builder
nodeCount(Integer nodeCount)
The number of nodes in the Exadata VM cluster on Exascale Infrastructure.ExadbVmClusterSummary.Builder
nsgIds(List<String> nsgIds)
The list of OCIDs for the network security groups (NSGs) to which this resource belongs.ExadbVmClusterSummary.Builder
privateZoneId(String privateZoneId)
The private zone ID in which you want DNS records to be created.ExadbVmClusterSummary.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.ExadbVmClusterSummary.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.ExadbVmClusterSummary.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.ExadbVmClusterSummary.Builder
scanListenerPortTcp(Integer scanListenerPortTcp)
The TCP Single Client Access Name (SCAN) port.ExadbVmClusterSummary.Builder
scanListenerPortTcpSsl(Integer scanListenerPortTcpSsl)
The Secured Communication (TCPS) protocol Single Client Access Name (SCAN) port.ExadbVmClusterSummary.Builder
securityAttributes(Map<String,Map<String,Object>> securityAttributes)
Security Attributes for this resource.ExadbVmClusterSummary.Builder
shape(String shape)
The shape of the Exadata VM cluster on Exascale Infrastructure resourceExadbVmClusterSummary.Builder
snapshotFileSystemStorage(ExadbVmClusterStorageDetails snapshotFileSystemStorage)
ExadbVmClusterSummary.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.ExadbVmClusterSummary.Builder
subnetId(String subnetId)
The OCID of the subnet associated with the Exadata VM cluster on Exascale Infrastructure.ExadbVmClusterSummary.Builder
subscriptionId(String subscriptionId)
The OCID of the subscription with which resource needs to be associated with.ExadbVmClusterSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.ExadbVmClusterSummary.Builder
systemVersion(String systemVersion)
Operating system version of the image.ExadbVmClusterSummary.Builder
timeCreated(Date timeCreated)
The date and time that the Exadata VM cluster on Exascale Infrastructure was created.ExadbVmClusterSummary.Builder
timeZone(String timeZone)
The time zone to use for the Exadata VM cluster on Exascale Infrastructure.ExadbVmClusterSummary.Builder
totalECpuCount(Integer totalECpuCount)
The number of Total ECPUs for an Exadata VM cluster on Exascale Infrastructure.ExadbVmClusterSummary.Builder
totalFileSystemStorage(ExadbVmClusterStorageDetails totalFileSystemStorage)
ExadbVmClusterSummary.Builder
vipIds(List<String> vipIds)
The OCID of the virtual IP (VIP) addresses associated with the Exadata VM cluster on Exascale Infrastructure.ExadbVmClusterSummary.Builder
vmFileSystemStorage(ExadbVmClusterStorageDetails vmFileSystemStorage)
ExadbVmClusterSummary.Builder
zoneId(String zoneId)
The OCID of the zone with which the Exadata VM cluster on Exascale Infrastructure is associated.
-
-
-
Method Detail
-
id
public ExadbVmClusterSummary.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 ExadbVmClusterSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
availabilityDomain
public ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.Builder lifecycleState(ExadbVmClusterSummary.LifecycleState lifecycleState)
The current state of the Exadata VM cluster on Exascale Infrastructure.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
nodeCount
public ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
timeZone
public ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.Builder giVersion(String giVersion)
A valid Oracle Grid Infrastructure (GI) software version.- Parameters:
giVersion
- the value to set- Returns:
- this builder
-
gridImageId
public ExadbVmClusterSummary.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 ExadbVmClusterSummary.Builder gridImageType(ExadbVmClusterSummary.GridImageType gridImageType)
The type of Grid Image- Parameters:
gridImageType
- the value to set- Returns:
- this builder
-
systemVersion
public ExadbVmClusterSummary.Builder systemVersion(String systemVersion)
Operating system version of the image.- Parameters:
systemVersion
- the value to set- Returns:
- this builder
-
sshPublicKeys
public ExadbVmClusterSummary.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 ExadbVmClusterSummary.Builder licenseModel(ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.Builder dataCollectionOptions(DataCollectionOptions dataCollectionOptions)
-
totalECpuCount
public ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.Builder vmFileSystemStorage(ExadbVmClusterStorageDetails vmFileSystemStorage)
-
snapshotFileSystemStorage
public ExadbVmClusterSummary.Builder snapshotFileSystemStorage(ExadbVmClusterStorageDetails snapshotFileSystemStorage)
-
totalFileSystemStorage
public ExadbVmClusterSummary.Builder totalFileSystemStorage(ExadbVmClusterStorageDetails totalFileSystemStorage)
-
exascaleDbStorageVaultId
public ExadbVmClusterSummary.Builder exascaleDbStorageVaultId(String exascaleDbStorageVaultId)
The OCID of the Exadata Database Storage Vault.- Parameters:
exascaleDbStorageVaultId
- the value to set- Returns:
- this builder
-
memorySizeInGBs
public ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary.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 ExadbVmClusterSummary build()
-
copy
public ExadbVmClusterSummary.Builder copy(ExadbVmClusterSummary model)
-
-