Class SddcSummary.Builder

  • Enclosing class:
    SddcSummary

    public static class SddcSummary.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public SddcSummary.Builder id​(String id)
        The OCID of the compartment that contains the SDDC.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • displayName

        public SddcSummary.Builder displayName​(String displayName)
        A descriptive name for the SDDC.

        It must be unique, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • vmwareSoftwareVersion

        public SddcSummary.Builder vmwareSoftwareVersion​(String vmwareSoftwareVersion)
        In general, this is a specific version of bundled VMware software supported by Oracle Cloud VMware Solution (see listSupportedVmwareSoftwareVersions).

        This attribute is not guaranteed to reflect the version of software currently installed on the ESXi hosts in the SDDC. The purpose of this attribute is to show the version of software that the Oracle Cloud VMware Solution will install on any new ESXi hosts that you *add to this SDDC in the future* with createEsxiHost.

        Therefore, if you upgrade the existing ESXi hosts in the SDDC to use a newer version of bundled VMware software supported by the Oracle Cloud VMware Solution, you should use updateSddc to update the SDDC's vmwareSoftwareVersion with that new version.

        Parameters:
        vmwareSoftwareVersion - the value to set
        Returns:
        this builder
      • compartmentId

        public SddcSummary.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the SDDC.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • clustersCount

        public SddcSummary.Builder clustersCount​(Integer clustersCount)
        The number of ESXi hosts in the SDDC.
        Parameters:
        clustersCount - the value to set
        Returns:
        this builder
      • hcxFqdn

        public SddcSummary.Builder hcxFqdn​(String hcxFqdn)
        HCX Fully Qualified Domain Name
        Parameters:
        hcxFqdn - the value to set
        Returns:
        this builder
      • hcxMode

        public SddcSummary.Builder hcxMode​(HcxModes hcxMode)
        HCX configuration of the SDDC.
        Parameters:
        hcxMode - the value to set
        Returns:
        this builder
      • vcenterFqdn

        public SddcSummary.Builder vcenterFqdn​(String vcenterFqdn)
        FQDN for vCenter

        Example: vcenter-my-sddc.sddc.us-phoenix-1.oraclecloud.com

        Parameters:
        vcenterFqdn - the value to set
        Returns:
        this builder
      • nsxManagerFqdn

        public SddcSummary.Builder nsxManagerFqdn​(String nsxManagerFqdn)
        FQDN for NSX Manager

        Example: nsx-my-sddc.sddc.us-phoenix-1.oraclecloud.com

        Parameters:
        nsxManagerFqdn - the value to set
        Returns:
        this builder
      • timeCreated

        public SddcSummary.Builder timeCreated​(Date timeCreated)
        The date and time the SDDC was created, in the format defined by RFC3339.

        Example: 2016-08-25T21:10:29.600Z

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public SddcSummary.Builder timeUpdated​(Date timeUpdated)
        The date and time the SDDC was updated, in the format defined by RFC3339.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • lifecycleState

        public SddcSummary.Builder lifecycleState​(LifecycleStates lifecycleState)
        The current state of the SDDC.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • isSingleHostSddc

        public SddcSummary.Builder isSingleHostSddc​(Boolean isSingleHostSddc)
        Indicates whether this SDDC is designated for only single ESXi host.
        Parameters:
        isSingleHostSddc - the value to set
        Returns:
        this builder
      • freeformTags

        public SddcSummary.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 SddcSummary.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.

        Example: {"Operations": {"CostCenter": "42"}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • systemTags

        public SddcSummary.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        Usage of system tag keys.

        These predefined keys are scoped to namespaces. Example: {orcl-cloud: {free-tier-retain: true}}

        Parameters:
        systemTags - the value to set
        Returns:
        this builder