Class ExadbVmClusterSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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