Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Cluster |
build() |
Cluster.Builder |
capacityReservationId(String capacityReservationId)
The OCID of the
Capacity Reservation.
|
Cluster.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment that contains the Cluster.
|
Cluster.Builder |
computeAvailabilityDomain(String computeAvailabilityDomain)
The availability domain the ESXi hosts are running in.
|
Cluster.Builder |
copy(Cluster model) |
Cluster.Builder |
datastores(List<DatastoreDetails> datastores)
Datastores used for the Cluster.
|
Cluster.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Cluster.Builder |
displayName(String displayName)
A descriptive name for the Cluster.
|
Cluster.Builder |
esxiHostsCount(Integer esxiHostsCount)
The number of ESXi hosts in the Cluster.
|
Cluster.Builder |
esxiSoftwareVersion(String esxiSoftwareVersion)
In general, this is a specific version of bundled ESXi software supported by Oracle Cloud
VMware Solution (see
listSupportedVmwareSoftwareVersions ). |
Cluster.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
Cluster.Builder |
id(String id)
The OCID of the
Cluster.
|
Cluster.Builder |
initialCommitment(Commitment initialCommitment)
The billing option selected during Cluster creation.
|
Cluster.Builder |
initialHostOcpuCount(Float initialHostOcpuCount)
The initial OCPU count of the Cluster’s ESXi hosts.
|
Cluster.Builder |
initialHostShapeName(String initialHostShapeName)
The initial compute shape of the Cluster’s ESXi hosts.
|
Cluster.Builder |
instanceDisplayNamePrefix(String instanceDisplayNamePrefix)
A prefix used in the name of each ESXi host and Compute instance in the Cluster.
|
Cluster.Builder |
isShieldedInstanceEnabled(Boolean isShieldedInstanceEnabled)
Indicates whether shielded instance is enabled at the Cluster level.
|
Cluster.Builder |
lifecycleState(LifecycleStates lifecycleState)
The current state of the Cluster.
|
Cluster.Builder |
networkConfiguration(NetworkConfiguration networkConfiguration) |
Cluster.Builder |
sddcId(String sddcId)
The OCID of the
SDDC that the Cluster belongs to.
|
Cluster.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
Cluster.Builder |
timeCreated(Date timeCreated)
The date and time the Cluster was created, in the format defined by
RFC3339.
|
Cluster.Builder |
timeUpdated(Date timeUpdated)
The date and time the Cluster was updated, in the format defined by
RFC3339.
|
Cluster.Builder |
upgradeLicenses(List<VsphereLicense> upgradeLicenses)
The vSphere licenses to use when upgrading the Cluster.
|
Cluster.Builder |
vmwareSoftwareVersion(String vmwareSoftwareVersion)
In general, this is a specific version of bundled VMware software supported by Oracle
Cloud VMware Solution (see
listSupportedVmwareSoftwareVersions ). |
Cluster.Builder |
vsphereType(VsphereTypes vsphereType)
vSphere Cluster types.
|
Cluster.Builder |
vsphereUpgradeObjects(List<VsphereUpgradeObject> vsphereUpgradeObjects)
The links to binary objects needed to upgrade vSphere.
|
Cluster.Builder |
workloadNetworkCidr(String workloadNetworkCidr)
The CIDR block for the IP addresses that VMware VMs in the SDDC use to run application
workloads.
|
public Cluster.Builder id(String id)
The OCID of the Cluster.
id
- the value to setpublic Cluster.Builder computeAvailabilityDomain(String computeAvailabilityDomain)
The availability domain the ESXi hosts are running in. For Multi-AD Cluster, it is multi-AD
.
Example: Uocm:PHX-AD-1
, multi-AD
computeAvailabilityDomain
- the value to setpublic Cluster.Builder displayName(String displayName)
A descriptive name for the Cluster. It must be unique, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
displayName
- the value to setpublic Cluster.Builder instanceDisplayNamePrefix(String instanceDisplayNamePrefix)
A prefix used in the name of each ESXi host and Compute instance in the Cluster. If this
isn’t set, the Cluster’s displayName
is used as the prefix.
For example, if the value is MyCluster
, the ESXi hosts are named MyCluster-1
, MyCluster-2
, and so on.
instanceDisplayNamePrefix
- the value to setpublic Cluster.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 Cluster. 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 Cluster in the future* with createEsxiHost
.
Therefore, if you upgrade the existing ESXi hosts in the Cluster to use a newer
version of bundled VMware software supported by the Oracle Cloud VMware Solution, you
should use updateCluster
to update the
Cluster's vmwareSoftwareVersion
with that new version.
vmwareSoftwareVersion
- the value to setpublic Cluster.Builder esxiSoftwareVersion(String esxiSoftwareVersion)
In general, this is a specific version of bundled ESXi 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
unless a different version is
configured on the ESXi host level.
Therefore, if you upgrade the existing ESXi hosts in the Cluster to use a newer
version of bundled ESXi software supported by the Oracle Cloud VMware Solution, you
should use updateCluster
to update the
Cluster's esxiSoftwareVersion
with that new version.
esxiSoftwareVersion
- the value to setpublic Cluster.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the Cluster.
compartmentId
- the value to setpublic Cluster.Builder sddcId(String sddcId)
The OCID of the SDDC that the Cluster belongs to.
sddcId
- the value to setpublic Cluster.Builder esxiHostsCount(Integer esxiHostsCount)
The number of ESXi hosts in the Cluster.
esxiHostsCount
- the value to setpublic Cluster.Builder initialCommitment(Commitment initialCommitment)
The billing option selected during Cluster creation. listSupportedCommitments
.
initialCommitment
- the value to setpublic Cluster.Builder workloadNetworkCidr(String workloadNetworkCidr)
The CIDR block for the IP addresses that VMware VMs in the SDDC use to run application workloads.
workloadNetworkCidr
- the value to setpublic Cluster.Builder networkConfiguration(NetworkConfiguration networkConfiguration)
public Cluster.Builder timeCreated(Date timeCreated)
The date and time the Cluster was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic Cluster.Builder timeUpdated(Date timeUpdated)
The date and time the Cluster was updated, in the format defined by RFC3339.
timeUpdated
- the value to setpublic Cluster.Builder lifecycleState(LifecycleStates lifecycleState)
The current state of the Cluster.
lifecycleState
- the value to setpublic Cluster.Builder upgradeLicenses(List<VsphereLicense> upgradeLicenses)
The vSphere licenses to use when upgrading the Cluster.
upgradeLicenses
- the value to setpublic Cluster.Builder vsphereUpgradeObjects(List<VsphereUpgradeObject> vsphereUpgradeObjects)
The links to binary objects needed to upgrade vSphere.
vsphereUpgradeObjects
- the value to setpublic Cluster.Builder initialHostShapeName(String initialHostShapeName)
The initial compute shape of the Cluster’s ESXi hosts. listSupportedHostShapes
.
initialHostShapeName
- the value to setpublic Cluster.Builder initialHostOcpuCount(Float initialHostOcpuCount)
The initial OCPU count of the Cluster’s ESXi hosts.
initialHostOcpuCount
- the value to setpublic Cluster.Builder isShieldedInstanceEnabled(Boolean isShieldedInstanceEnabled)
Indicates whether shielded instance is enabled at the Cluster level.
isShieldedInstanceEnabled
- the value to setpublic Cluster.Builder capacityReservationId(String capacityReservationId)
The OCID of the Capacity Reservation.
capacityReservationId
- the value to setpublic Cluster.Builder datastores(List<DatastoreDetails> datastores)
Datastores used for the Cluster.
datastores
- the value to setpublic Cluster.Builder vsphereType(VsphereTypes vsphereType)
vSphere Cluster types.
vsphereType
- the value to setpublic Cluster.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"}
freeformTags
- the value to setpublic Cluster.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"}}
definedTags
- the value to setpublic Cluster.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}}
systemTags
- the value to setpublic Cluster build()
public Cluster.Builder copy(Cluster model)
Copyright © 2016–2024. All rights reserved.