Class Sddc.Builder
- java.lang.Object
-
- com.oracle.bmc.ocvp.model.Sddc.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Sddcbuild()Sddc.BuilderclustersCount(Integer clustersCount)The number of Clusters in the SDDC.Sddc.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the SDDC.Sddc.Buildercopy(Sddc model)Sddc.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Sddc.BuilderdisplayName(String displayName)A descriptive name for the SDDC.Sddc.BuilderesxiSoftwareVersion(String esxiSoftwareVersion)In general, this is a specific version of bundled ESXi software supported by Oracle Cloud VMware Solution (seelistSupportedVmwareSoftwareVersions).Sddc.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.Sddc.BuilderhcxFqdn(String hcxFqdn)The FQDN for HCX Manager.Sddc.BuilderhcxMode(HcxModes hcxMode)HCX configuration of the SDDC.Sddc.BuilderhcxOnPremLicenses(List<HcxLicenseSummary> hcxOnPremLicenses)The activation licenses to use on the on-premises HCX Enterprise appliance you site pair with HCX Manager in your VMware Solution.Sddc.BuilderhcxPrivateIpId(String hcxPrivateIpId)The OCID of the PrivateIp object that is the virtual IP (VIP) for HCX Manager.Sddc.Builderid(String id)The OCID of the SDDC.Sddc.BuilderinitialConfiguration(InitialConfiguration initialConfiguration)Sddc.BuilderisHcxPendingDowngrade(Boolean isHcxPendingDowngrade)Indicates whether SDDC is pending downgrade from HCX Enterprise to HCX Advanced.Sddc.BuilderisSingleHostSddc(Boolean isSingleHostSddc)Indicates whether this SDDC is designated for only single ESXi host.Sddc.BuilderlifecycleState(LifecycleStates lifecycleState)The current state of the SDDC.Sddc.BuildernsxEdgeUplinkIpId(String nsxEdgeUplinkIpId)The OCID of the PrivateIp object that is the virtual IP (VIP) for the NSX Edge Uplink.Sddc.BuildernsxManagerFqdn(String nsxManagerFqdn)The FQDN for NSX Manager.Sddc.BuildernsxManagerPrivateIpId(String nsxManagerPrivateIpId)The OCID of the PrivateIp object that is the virtual IP (VIP) for NSX Manager.Sddc.BuildernsxManagerUsername(String nsxManagerUsername)The SDDC includes an administrator username and initial password for NSX Manager.Sddc.BuildersshAuthorizedKeys(String sshAuthorizedKeys)One or more public SSH keys to be included in the ~/.ssh/authorized_keys file for the default user on each ESXi host.Sddc.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.Sddc.BuildertimeCreated(Date timeCreated)The date and time the SDDC was created, in the format defined by RFC3339.Sddc.BuildertimeHcxBillingCycleEnd(Date timeHcxBillingCycleEnd)The date and time current HCX Enterprise billing cycle ends, in the format defined by RFC3339.Sddc.BuildertimeHcxLicenseStatusUpdated(Date timeHcxLicenseStatusUpdated)The date and time the SDDC’s HCX on-premise license status was updated, in the format defined by RFC3339.Sddc.BuildertimeUpdated(Date timeUpdated)The date and time the SDDC was updated, in the format defined by RFC3339.Sddc.BuildervcenterFqdn(String vcenterFqdn)The FQDN for vCenter.Sddc.BuildervcenterPrivateIpId(String vcenterPrivateIpId)The OCID of the PrivateIp object that is the virtual IP (VIP) for vCenter.Sddc.BuildervcenterUsername(String vcenterUsername)The SDDC includes an administrator username and password for vCenter.Sddc.BuildervmwareSoftwareVersion(String vmwareSoftwareVersion)In general, this is a specific version of bundled VMware software supported by Oracle Cloud VMware Solution (seelistSupportedVmwareSoftwareVersions).
-
-
-
Method Detail
-
id
public Sddc.Builder id(String id)
The OCID of the SDDC.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public Sddc.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 Sddc.Builder vmwareSoftwareVersion(String vmwareSoftwareVersion)
In general, this is a specific version of bundled VMware software supported by Oracle Cloud VMware Solution (seelistSupportedVmwareSoftwareVersions).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
updateSddcto update the SDDC's vmwareSoftwareVersion with that new version.- Parameters:
vmwareSoftwareVersion- the value to set- Returns:
- this builder
-
esxiSoftwareVersion
public Sddc.Builder esxiSoftwareVersion(String esxiSoftwareVersion)
In general, this is a specific version of bundled ESXi software supported by Oracle Cloud VMware Solution (seelistSupportedVmwareSoftwareVersions).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
createEsxiHostunless a different version is configured on the Cluster or ESXi host level.Therefore, if you upgrade the existing ESXi hosts in the SDDC to use a newer version of bundled ESXi software supported by the Oracle Cloud VMware Solution, you should use
updateSddcto update the SDDC's vmwareSoftwareVersion with that new version.- Parameters:
esxiSoftwareVersion- the value to set- Returns:
- this builder
-
compartmentId
public Sddc.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the SDDC.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
clustersCount
public Sddc.Builder clustersCount(Integer clustersCount)
The number of Clusters in the SDDC.- Parameters:
clustersCount- the value to set- Returns:
- this builder
-
vcenterFqdn
public Sddc.Builder vcenterFqdn(String vcenterFqdn)
The FQDN for vCenter.Example: vcenter-my-sddc.sddc.us-phoenix-1.oraclecloud.com
- Parameters:
vcenterFqdn- the value to set- Returns:
- this builder
-
nsxManagerFqdn
public Sddc.Builder nsxManagerFqdn(String nsxManagerFqdn)
The FQDN for NSX Manager.Example: nsx-my-sddc.sddc.us-phoenix-1.oraclecloud.com
- Parameters:
nsxManagerFqdn- the value to set- Returns:
- this builder
-
vcenterPrivateIpId
public Sddc.Builder vcenterPrivateIpId(String vcenterPrivateIpId)
The OCID of the PrivateIp object that is the virtual IP (VIP) for vCenter.For information about PrivateIp objects, see the Core Services API.
- Parameters:
vcenterPrivateIpId- the value to set- Returns:
- this builder
-
nsxManagerPrivateIpId
public Sddc.Builder nsxManagerPrivateIpId(String nsxManagerPrivateIpId)
The OCID of the PrivateIp object that is the virtual IP (VIP) for NSX Manager.For information about PrivateIp objects, see the Core Services API.
- Parameters:
nsxManagerPrivateIpId- the value to set- Returns:
- this builder
-
vcenterUsername
public Sddc.Builder vcenterUsername(String vcenterUsername)
The SDDC includes an administrator username and password for vCenter.You can change this initial username to a different value in vCenter.
- Parameters:
vcenterUsername- the value to set- Returns:
- this builder
-
nsxManagerUsername
public Sddc.Builder nsxManagerUsername(String nsxManagerUsername)
The SDDC includes an administrator username and initial password for NSX Manager.You can change this initial username to a different value in NSX Manager.
- Parameters:
nsxManagerUsername- the value to set- Returns:
- this builder
-
sshAuthorizedKeys
public Sddc.Builder sshAuthorizedKeys(String sshAuthorizedKeys)
One or more public SSH keys to be included in the ~/.ssh/authorized_keys file for the default user on each ESXi host.Use a newline character to separate multiple keys. The SSH keys must be in the format required for the authorized_keys file.
This attribute is not guaranteed to reflect the public SSH keys currently installed on the ESXi hosts in the SDDC. The purpose of this attribute is to show the public SSH keys that 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 different SSH keys, you should use
updateSddcto update the SDDC's sshAuthorizedKeys with the new public keys.- Parameters:
sshAuthorizedKeys- the value to set- Returns:
- this builder
-
nsxEdgeUplinkIpId
public Sddc.Builder nsxEdgeUplinkIpId(String nsxEdgeUplinkIpId)
The OCID of the PrivateIp object that is the virtual IP (VIP) for the NSX Edge Uplink.Use this OCID as the route target for route table rules when setting up connectivity between the SDDC and other networks. For information about PrivateIp objects, see the Core Services API.
- Parameters:
nsxEdgeUplinkIpId- the value to set- Returns:
- this builder
-
hcxPrivateIpId
public Sddc.Builder hcxPrivateIpId(String hcxPrivateIpId)
The OCID of the PrivateIp object that is the virtual IP (VIP) for HCX Manager.For information about PrivateIp objects, see the Core Services API.
- Parameters:
hcxPrivateIpId- the value to set- Returns:
- this builder
-
hcxFqdn
public Sddc.Builder hcxFqdn(String hcxFqdn)
The FQDN for HCX Manager.Example: hcx-my-sddc.sddc.us-phoenix-1.oraclecloud.com
- Parameters:
hcxFqdn- the value to set- Returns:
- this builder
-
hcxMode
public Sddc.Builder hcxMode(HcxModes hcxMode)
HCX configuration of the SDDC.- Parameters:
hcxMode- the value to set- Returns:
- this builder
-
initialConfiguration
public Sddc.Builder initialConfiguration(InitialConfiguration initialConfiguration)
-
isHcxPendingDowngrade
public Sddc.Builder isHcxPendingDowngrade(Boolean isHcxPendingDowngrade)
Indicates whether SDDC is pending downgrade from HCX Enterprise to HCX Advanced.- Parameters:
isHcxPendingDowngrade- the value to set- Returns:
- this builder
-
hcxOnPremLicenses
public Sddc.Builder hcxOnPremLicenses(List<HcxLicenseSummary> hcxOnPremLicenses)
The activation licenses to use on the on-premises HCX Enterprise appliance you site pair with HCX Manager in your VMware Solution.- Parameters:
hcxOnPremLicenses- the value to set- Returns:
- this builder
-
timeHcxBillingCycleEnd
public Sddc.Builder timeHcxBillingCycleEnd(Date timeHcxBillingCycleEnd)
The date and time current HCX Enterprise billing cycle ends, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeHcxBillingCycleEnd- the value to set- Returns:
- this builder
-
timeHcxLicenseStatusUpdated
public Sddc.Builder timeHcxLicenseStatusUpdated(Date timeHcxLicenseStatusUpdated)
The date and time the SDDC’s HCX on-premise license status was updated, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeHcxLicenseStatusUpdated- the value to set- Returns:
- this builder
-
isSingleHostSddc
public Sddc.Builder isSingleHostSddc(Boolean isSingleHostSddc)
Indicates whether this SDDC is designated for only single ESXi host.- Parameters:
isSingleHostSddc- the value to set- Returns:
- this builder
-
timeCreated
public Sddc.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 Sddc.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 Sddc.Builder lifecycleState(LifecycleStates lifecycleState)
The current state of the SDDC.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
freeformTags
public Sddc.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 Sddc.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 Sddc.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
-
build
public Sddc build()
-
copy
public Sddc.Builder copy(Sddc model)
-
-