Class ClusterSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.ocvp.model.ClusterSummary.Builder
 
- 
- Enclosing class:
- ClusterSummary
 
 public static class ClusterSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterSummarybuild()ClusterSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the Cluster.ClusterSummary.BuildercomputeAvailabilityDomain(String computeAvailabilityDomain)The availability domain that the Cluster’s ESXi hosts are running in.ClusterSummary.Buildercopy(ClusterSummary model)ClusterSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ClusterSummary.BuilderdisplayName(String displayName)A descriptive name for the Cluster.ClusterSummary.BuilderesxiHostsCount(Integer esxiHostsCount)The number of ESXi hosts in the Cluster.ClusterSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ClusterSummary.Builderid(String id)The OCID of the compartment that contains the Cluster.ClusterSummary.BuilderinitialHostOcpuCount(Float initialHostOcpuCount)The initial OCPU count of the Cluster’s ESXi hosts.ClusterSummary.BuilderinitialHostShapeName(String initialHostShapeName)The initial compute shape of the Cluster’s ESXi hosts.ClusterSummary.BuilderisShieldedInstanceEnabled(Boolean isShieldedInstanceEnabled)Indicates whether shielded instance is enabled at the Cluster level.ClusterSummary.BuilderlifecycleState(LifecycleStates lifecycleState)The current state of the Cluster.ClusterSummary.BuildersddcId(String sddcId)The OCID of the SDDC that the Cluster belongs to.ClusterSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.ClusterSummary.BuildertimeCreated(Date timeCreated)The date and time the Cluster was created, in the format defined by RFC3339.ClusterSummary.BuildertimeUpdated(Date timeUpdated)The date and time the Cluster was updated, in the format defined by RFC3339.ClusterSummary.BuildervmwareSoftwareVersion(String vmwareSoftwareVersion)In general, this is a specific version of bundled VMware software supported by Oracle Cloud VMware Solution (seelistSupportedVmwareSoftwareVersions).ClusterSummary.BuildervsphereType(VsphereTypes vsphereType)vSphere Cluster types.
 
- 
- 
- 
Method Detail- 
idpublic ClusterSummary.Builder id(String id) The OCID of the compartment that contains the Cluster.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
computeAvailabilityDomainpublic 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. - Parameters:
- computeAvailabilityDomain- the value to set
- Returns:
- this builder
 
 - 
sddcIdpublic ClusterSummary.Builder sddcId(String sddcId) The OCID of the SDDC that the Cluster belongs to.- Parameters:
- sddcId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic 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. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
vmwareSoftwareVersionpublic ClusterSummary.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 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 updateClusterto update the Cluster's vmwareSoftwareVersion with that new version.- Parameters:
- vmwareSoftwareVersion- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic ClusterSummary.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the Cluster.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
esxiHostsCountpublic ClusterSummary.Builder esxiHostsCount(Integer esxiHostsCount) The number of ESXi hosts in the Cluster.- Parameters:
- esxiHostsCount- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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 - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic ClusterSummary.Builder timeUpdated(Date timeUpdated) The date and time the Cluster was updated, in the format defined by RFC3339.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic ClusterSummary.Builder lifecycleState(LifecycleStates lifecycleState) The current state of the Cluster.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
isShieldedInstanceEnabledpublic ClusterSummary.Builder isShieldedInstanceEnabled(Boolean isShieldedInstanceEnabled) Indicates whether shielded instance is enabled at the Cluster level.- Parameters:
- isShieldedInstanceEnabled- the value to set
- Returns:
- this builder
 
 - 
initialHostShapeNamepublic ClusterSummary.Builder initialHostShapeName(String initialHostShapeName) The initial compute shape of the Cluster’s ESXi hosts.listSupportedHostShapes.- Parameters:
- initialHostShapeName- the value to set
- Returns:
- this builder
 
 - 
initialHostOcpuCountpublic ClusterSummary.Builder initialHostOcpuCount(Float initialHostOcpuCount) The initial OCPU count of the Cluster’s ESXi hosts.- Parameters:
- initialHostOcpuCount- the value to set
- Returns:
- this builder
 
 - 
vsphereTypepublic ClusterSummary.Builder vsphereType(VsphereTypes vsphereType) vSphere Cluster types.- Parameters:
- vsphereType- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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"}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic ClusterSummary build() 
 - 
copypublic ClusterSummary.Builder copy(ClusterSummary model) 
 
- 
 
-