public static class ClusterSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ClusterSummary |
build() |
ClusterSummary.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment that contains the Cluster.
|
ClusterSummary.Builder |
computeAvailabilityDomain(String computeAvailabilityDomain)
The availability domain that the Cluster’s ESXi hosts are running in.
|
ClusterSummary.Builder |
copy(ClusterSummary model) |
ClusterSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ClusterSummary.Builder |
displayName(String displayName)
A descriptive name for the Cluster.
|
ClusterSummary.Builder |
esxiHostsCount(Integer esxiHostsCount)
The number of ESXi hosts in the Cluster.
|
ClusterSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
ClusterSummary.Builder |
id(String id)
The OCID of the
compartment that contains the Cluster.
|
ClusterSummary.Builder |
initialHostOcpuCount(Float initialHostOcpuCount)
The initial OCPU count of the Cluster’s ESXi hosts.
|
ClusterSummary.Builder |
initialHostShapeName(String initialHostShapeName)
The initial compute shape of the Cluster’s ESXi hosts.
|
ClusterSummary.Builder |
isShieldedInstanceEnabled(Boolean isShieldedInstanceEnabled)
Indicates whether shielded instance is enabled at the Cluster level.
|
ClusterSummary.Builder |
lifecycleState(LifecycleStates lifecycleState)
The current state of the Cluster.
|
ClusterSummary.Builder |
sddcId(String sddcId)
The OCID of the
SDDC that the Cluster belongs to.
|
ClusterSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
ClusterSummary.Builder |
timeCreated(Date timeCreated)
The date and time the Cluster was created, in the format defined by
RFC3339.
|
ClusterSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the Cluster was updated, in the format defined by
RFC3339.
|
ClusterSummary.Builder |
vmwareSoftwareVersion(String vmwareSoftwareVersion)
In general, this is a specific version of bundled VMware software supported by Oracle
Cloud VMware Solution (see
listSupportedVmwareSoftwareVersions ). |
ClusterSummary.Builder |
vsphereType(VsphereTypes vsphereType)
vSphere Cluster types.
|
public ClusterSummary.Builder id(String id)
The OCID of the compartment that contains the Cluster.
id
- the value to setpublic ClusterSummary.Builder computeAvailabilityDomain(String computeAvailabilityDomain)
The availability domain that the Cluster’s ESXi hosts are running in. For Multi-AD
Cluster, it is multi-AD
.
computeAvailabilityDomain
- the value to setpublic ClusterSummary.Builder sddcId(String sddcId)
The OCID of the SDDC that the Cluster belongs to.
sddcId
- the value to setpublic ClusterSummary.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 ClusterSummary.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 ClusterSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the Cluster.
compartmentId
- the value to setpublic ClusterSummary.Builder esxiHostsCount(Integer esxiHostsCount)
The number of ESXi hosts in the Cluster.
esxiHostsCount
- the value to setpublic ClusterSummary.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 ClusterSummary.Builder timeUpdated(Date timeUpdated)
The date and time the Cluster was updated, in the format defined by RFC3339.
timeUpdated
- the value to setpublic ClusterSummary.Builder lifecycleState(LifecycleStates lifecycleState)
The current state of the Cluster.
lifecycleState
- the value to setpublic ClusterSummary.Builder isShieldedInstanceEnabled(Boolean isShieldedInstanceEnabled)
Indicates whether shielded instance is enabled at the Cluster level.
isShieldedInstanceEnabled
- the value to setpublic ClusterSummary.Builder initialHostShapeName(String initialHostShapeName)
The initial compute shape of the Cluster’s ESXi hosts. listSupportedHostShapes
.
initialHostShapeName
- the value to setpublic ClusterSummary.Builder initialHostOcpuCount(Float initialHostOcpuCount)
The initial OCPU count of the Cluster’s ESXi hosts.
initialHostOcpuCount
- the value to setpublic ClusterSummary.Builder vsphereType(VsphereTypes vsphereType)
vSphere Cluster types.
vsphereType
- the value to setpublic ClusterSummary.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 ClusterSummary.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 ClusterSummary.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 ClusterSummary build()
public ClusterSummary.Builder copy(ClusterSummary model)
Copyright © 2016–2024. All rights reserved.