Class EsxiHost.Builder
- java.lang.Object
- 
- com.oracle.bmc.ocvp.model.EsxiHost.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description EsxiHost.BuilderbillingContractEndDate(Date billingContractEndDate)Current billing cycle end date.EsxiHost.BuilderbillingDonorHostId(String billingDonorHostId)The OCID of the deleted ESXi Host with LeftOver billing cycle.EsxiHostbuild()EsxiHost.BuildercapacityReservationId(String capacityReservationId)The OCID of the Capacity Reservation.EsxiHost.BuilderclusterId(String clusterId)The OCID of the Cluster that the ESXi host belongs to.EsxiHost.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the Cluster.EsxiHost.BuildercomputeAvailabilityDomain(String computeAvailabilityDomain)The availability domain of the ESXi host.EsxiHost.BuildercomputeInstanceId(String computeInstanceId)In terms of implementation, an ESXi host is a Compute instance that is configured with the chosen bundle of VMware software.EsxiHost.Buildercopy(EsxiHost model)EsxiHost.BuildercurrentCommitment(Commitment currentCommitment)The billing option currently used by the ESXi host.EsxiHost.BuilderdatastoreAttachments(List<DatastoreAttachment> datastoreAttachments)List of DatastoreAttachment objects containing information about attachment detailsEsxiHost.BuilderdatastoreClusterIds(List<String> datastoreClusterIds)A list of datastore clusters.EsxiHost.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.EsxiHost.BuilderdisplayName(String displayName)A descriptive name for the ESXi host.EsxiHost.BuilderesxiSoftwareVersion(String esxiSoftwareVersion)The version of ESXi software that Oracle Cloud VMware Solution installed on the ESXi hosts.EsxiHost.BuilderfailedEsxiHostId(String failedEsxiHostId)The OCID of the ESXi host that failed.EsxiHost.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.EsxiHost.BuildergracePeriodEndDate(Date gracePeriodEndDate)The date and time when the new esxi host should start billing cycle.EsxiHost.BuilderhostOcpuCount(Float hostOcpuCount)The OCPU count of the ESXi host.EsxiHost.BuilderhostShapeName(String hostShapeName)The compute shape name of the ESXi host.EsxiHost.Builderid(String id)The OCID of the ESXi host.EsxiHost.BuilderisBillingContinuationInProgress(Boolean isBillingContinuationInProgress)Indicates whether this host is in the progress of billing continuation.EsxiHost.BuilderisBillingSwappingInProgress(Boolean isBillingSwappingInProgress)Indicates whether this host is in the progress of swapping billing.EsxiHost.BuilderlifecycleState(LifecycleStates lifecycleState)The current state of the ESXi host.EsxiHost.BuildernextCommitment(Commitment nextCommitment)The billing option to switch to after the current billing cycle ends.EsxiHost.BuildernonUpgradedEsxiHostId(String nonUpgradedEsxiHostId)The OCID of the ESXi host that will be upgraded.EsxiHost.BuilderreplacementEsxiHostId(String replacementEsxiHostId)The OCID of the ESXi host that is created to replace the failed host.EsxiHost.BuildersddcId(String sddcId)The OCID of the SDDC that the ESXi host belongs to.EsxiHost.BuilderswapBillingHostId(String swapBillingHostId)The OCID of the active ESXi Host to swap billing with current host.EsxiHost.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.EsxiHost.BuildertimeCreated(Date timeCreated)The date and time the ESXi host was created, in the format defined by RFC3339.EsxiHost.BuildertimeUpdated(Date timeUpdated)The date and time the ESXi host was updated, in the format defined by RFC3339.EsxiHost.BuilderupgradedReplacementEsxiHostId(String upgradedReplacementEsxiHostId)The OCID of the ESXi host that is newly created to upgrade the original host.EsxiHost.BuildervmwareSoftwareVersion(String vmwareSoftwareVersion)The version of VMware software that Oracle Cloud VMware Solution installed on the ESXi hosts.
 
- 
- 
- 
Method Detail- 
idpublic EsxiHost.Builder id(String id) The OCID of the ESXi host.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic EsxiHost.Builder displayName(String displayName) A descriptive name for the ESXi host.Does not have to be unique, and it’s changeable. Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
sddcIdpublic EsxiHost.Builder sddcId(String sddcId) The OCID of the SDDC that the ESXi host belongs to.- Parameters:
- sddcId- the value to set
- Returns:
- this builder
 
 - 
clusterIdpublic EsxiHost.Builder clusterId(String clusterId) The OCID of the Cluster that the ESXi host belongs to.- Parameters:
- clusterId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic EsxiHost.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the Cluster.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
computeInstanceIdpublic EsxiHost.Builder computeInstanceId(String computeInstanceId) In terms of implementation, an ESXi host is a Compute instance that is configured with the chosen bundle of VMware software.The computeInstanceId is the OCID of that Compute instance. - Parameters:
- computeInstanceId- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic EsxiHost.Builder timeCreated(Date timeCreated) The date and time the ESXi host 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 EsxiHost.Builder timeUpdated(Date timeUpdated) The date and time the ESXi host was updated, in the format defined by RFC3339.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic EsxiHost.Builder lifecycleState(LifecycleStates lifecycleState) The current state of the ESXi host.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
billingDonorHostIdpublic EsxiHost.Builder billingDonorHostId(String billingDonorHostId) The OCID of the deleted ESXi Host with LeftOver billing cycle.- Parameters:
- billingDonorHostId- the value to set
- Returns:
- this builder
 
 - 
swapBillingHostIdpublic EsxiHost.Builder swapBillingHostId(String swapBillingHostId) The OCID of the active ESXi Host to swap billing with current host.- Parameters:
- swapBillingHostId- the value to set
- Returns:
- this builder
 
 - 
isBillingContinuationInProgresspublic EsxiHost.Builder isBillingContinuationInProgress(Boolean isBillingContinuationInProgress) Indicates whether this host is in the progress of billing continuation.- Parameters:
- isBillingContinuationInProgress- the value to set
- Returns:
- this builder
 
 - 
isBillingSwappingInProgresspublic EsxiHost.Builder isBillingSwappingInProgress(Boolean isBillingSwappingInProgress) Indicates whether this host is in the progress of swapping billing.- Parameters:
- isBillingSwappingInProgress- the value to set
- Returns:
- this builder
 
 - 
currentCommitmentpublic EsxiHost.Builder currentCommitment(Commitment currentCommitment) The billing option currently used by the ESXi host.listSupportedCommitments.- Parameters:
- currentCommitment- the value to set
- Returns:
- this builder
 
 - 
nextCommitmentpublic EsxiHost.Builder nextCommitment(Commitment nextCommitment) The billing option to switch to after the current billing cycle ends.If nextCommitment is null or empty, currentCommitment continues to the next billing cycle. listSupportedCommitments.- Parameters:
- nextCommitment- the value to set
- Returns:
- this builder
 
 - 
billingContractEndDatepublic EsxiHost.Builder billingContractEndDate(Date billingContractEndDate) Current billing cycle end date.If the value in currentCommitment and nextCommitment are different, the value specified in nextCommitment becomes the new currentCommitment when the contractEndDate is reached. Example: 2016-08-25T21:10:29.600Z - Parameters:
- billingContractEndDate- the value to set
- Returns:
- this builder
 
 - 
failedEsxiHostIdpublic EsxiHost.Builder failedEsxiHostId(String failedEsxiHostId) The OCID of the ESXi host that failed.- Parameters:
- failedEsxiHostId- the value to set
- Returns:
- this builder
 
 - 
replacementEsxiHostIdpublic EsxiHost.Builder replacementEsxiHostId(String replacementEsxiHostId) The OCID of the ESXi host that is created to replace the failed host.- Parameters:
- replacementEsxiHostId- the value to set
- Returns:
- this builder
 
 - 
gracePeriodEndDatepublic EsxiHost.Builder gracePeriodEndDate(Date gracePeriodEndDate) The date and time when the new esxi host should start billing cycle.RFC3339. Example: 2021-07-25T21:10:29.600Z - Parameters:
- gracePeriodEndDate- the value to set
- Returns:
- this builder
 
 - 
vmwareSoftwareVersionpublic EsxiHost.Builder vmwareSoftwareVersion(String vmwareSoftwareVersion) The version of VMware software that Oracle Cloud VMware Solution installed on the ESXi hosts.- Parameters:
- vmwareSoftwareVersion- the value to set
- Returns:
- this builder
 
 - 
esxiSoftwareVersionpublic EsxiHost.Builder esxiSoftwareVersion(String esxiSoftwareVersion) The version of ESXi software that Oracle Cloud VMware Solution installed on the ESXi hosts.- Parameters:
- esxiSoftwareVersion- the value to set
- Returns:
- this builder
 
 - 
nonUpgradedEsxiHostIdpublic EsxiHost.Builder nonUpgradedEsxiHostId(String nonUpgradedEsxiHostId) The OCID of the ESXi host that will be upgraded.- Parameters:
- nonUpgradedEsxiHostId- the value to set
- Returns:
- this builder
 
 - 
upgradedReplacementEsxiHostIdpublic EsxiHost.Builder upgradedReplacementEsxiHostId(String upgradedReplacementEsxiHostId) The OCID of the ESXi host that is newly created to upgrade the original host.- Parameters:
- upgradedReplacementEsxiHostId- the value to set
- Returns:
- this builder
 
 - 
computeAvailabilityDomainpublic EsxiHost.Builder computeAvailabilityDomain(String computeAvailabilityDomain) The availability domain of the ESXi host.- Parameters:
- computeAvailabilityDomain- the value to set
- Returns:
- this builder
 
 - 
hostShapeNamepublic EsxiHost.Builder hostShapeName(String hostShapeName) The compute shape name of the ESXi host.listSupportedHostShapes.- Parameters:
- hostShapeName- the value to set
- Returns:
- this builder
 
 - 
hostOcpuCountpublic EsxiHost.Builder hostOcpuCount(Float hostOcpuCount) The OCPU count of the ESXi host.- Parameters:
- hostOcpuCount- the value to set
- Returns:
- this builder
 
 - 
capacityReservationIdpublic EsxiHost.Builder capacityReservationId(String capacityReservationId) The OCID of the Capacity Reservation.- Parameters:
- capacityReservationId- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic EsxiHost.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 EsxiHost.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 EsxiHost.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
 
 - 
datastoreClusterIdspublic EsxiHost.Builder datastoreClusterIds(List<String> datastoreClusterIds) A list of datastore clusters.- Parameters:
- datastoreClusterIds- the value to set
- Returns:
- this builder
 
 - 
datastoreAttachmentspublic EsxiHost.Builder datastoreAttachments(List<DatastoreAttachment> datastoreAttachments) List of DatastoreAttachment objects containing information about attachment details- Parameters:
- datastoreAttachments- the value to set
- Returns:
- this builder
 
 - 
buildpublic EsxiHost build() 
 - 
copypublic EsxiHost.Builder copy(EsxiHost model) 
 
- 
 
-