Class EsxiHostSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.ocvp.model.EsxiHostSummary.Builder
-
- Enclosing class:
- EsxiHostSummary
public static class EsxiHostSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EsxiHostSummary.Builder
billingContractEndDate(Date billingContractEndDate)
Current billing cycle end date.EsxiHostSummary.Builder
billingDonorHostId(String billingDonorHostId)
The OCID of the deleted ESXi Host with LeftOver billing cycle.EsxiHostSummary
build()
EsxiHostSummary.Builder
clusterId(String clusterId)
The OCID of the Cluster that the ESXi host belongs to.EsxiHostSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the Cluster.EsxiHostSummary.Builder
computeAvailabilityDomain(String computeAvailabilityDomain)
The availability domain of the ESXi host.EsxiHostSummary.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.EsxiHostSummary.Builder
copy(EsxiHostSummary model)
EsxiHostSummary.Builder
currentCommitment(Commitment currentCommitment)
The billing option currently used by the ESXi host.EsxiHostSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.EsxiHostSummary.Builder
displayName(String displayName)
A descriptive name for the ESXi host.EsxiHostSummary.Builder
failedEsxiHostId(String failedEsxiHostId)
The OCID of the ESXi host that failed.EsxiHostSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.EsxiHostSummary.Builder
gracePeriodEndDate(Date gracePeriodEndDate)
The date and time when the new esxi host should start billing cycle.EsxiHostSummary.Builder
hostOcpuCount(Float hostOcpuCount)
The OCPU count of the ESXi host.EsxiHostSummary.Builder
hostShapeName(String hostShapeName)
The compute shape name of the ESXi host.EsxiHostSummary.Builder
id(String id)
The OCID of the ESXi host.EsxiHostSummary.Builder
isBillingContinuationInProgress(Boolean isBillingContinuationInProgress)
Indicates whether this host is in the progress of billing continuation.EsxiHostSummary.Builder
isBillingSwappingInProgress(Boolean isBillingSwappingInProgress)
Indicates whether this host is in the progress of swapping billing.EsxiHostSummary.Builder
lifecycleState(LifecycleStates lifecycleState)
The current state of the ESXi host.EsxiHostSummary.Builder
nextCommitment(Commitment nextCommitment)
The billing option to switch to after the current billing cycle ends.EsxiHostSummary.Builder
nonUpgradedEsxiHostId(String nonUpgradedEsxiHostId)
The OCID of the ESXi host that will be upgraded.EsxiHostSummary.Builder
replacementEsxiHostId(String replacementEsxiHostId)
The OCID of the ESXi host that is newly created to replace the failed host.EsxiHostSummary.Builder
sddcId(String sddcId)
The OCID of the SDDC that the ESXi host belongs to.EsxiHostSummary.Builder
swapBillingHostId(String swapBillingHostId)
The OCID of the active ESXi Host to swap billing with current host.EsxiHostSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.EsxiHostSummary.Builder
timeCreated(Date timeCreated)
The date and time the ESXi host was created, in the format defined by RFC3339.EsxiHostSummary.Builder
timeUpdated(Date timeUpdated)
The date and time the ESXi host was updated, in the format defined by RFC3339.EsxiHostSummary.Builder
upgradedReplacementEsxiHostId(String upgradedReplacementEsxiHostId)
The OCID of the ESXi host that is newly created to upgrade the original host.EsxiHostSummary.Builder
vmwareSoftwareVersion(String vmwareSoftwareVersion)
The version of VMware software that Oracle Cloud VMware Solution installed on the ESXi hosts.
-
-
-
Method Detail
-
id
public EsxiHostSummary.Builder id(String id)
The OCID of the ESXi host.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public EsxiHostSummary.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
-
sddcId
public EsxiHostSummary.Builder sddcId(String sddcId)
The OCID of the SDDC that the ESXi host belongs to.- Parameters:
sddcId
- the value to set- Returns:
- this builder
-
clusterId
public EsxiHostSummary.Builder clusterId(String clusterId)
The OCID of the Cluster that the ESXi host belongs to.- Parameters:
clusterId
- the value to set- Returns:
- this builder
-
compartmentId
public EsxiHostSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the Cluster.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
computeInstanceId
public EsxiHostSummary.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
-
timeCreated
public EsxiHostSummary.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
-
timeUpdated
public EsxiHostSummary.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
-
lifecycleState
public EsxiHostSummary.Builder lifecycleState(LifecycleStates lifecycleState)
The current state of the ESXi host.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
currentCommitment
public EsxiHostSummary.Builder currentCommitment(Commitment currentCommitment)
The billing option currently used by the ESXi host.listSupportedCommitments
.- Parameters:
currentCommitment
- the value to set- Returns:
- this builder
-
nextCommitment
public EsxiHostSummary.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
-
billingContractEndDate
public EsxiHostSummary.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
-
failedEsxiHostId
public EsxiHostSummary.Builder failedEsxiHostId(String failedEsxiHostId)
The OCID of the ESXi host that failed.- Parameters:
failedEsxiHostId
- the value to set- Returns:
- this builder
-
replacementEsxiHostId
public EsxiHostSummary.Builder replacementEsxiHostId(String replacementEsxiHostId)
The OCID of the ESXi host that is newly created to replace the failed host.- Parameters:
replacementEsxiHostId
- the value to set- Returns:
- this builder
-
gracePeriodEndDate
public EsxiHostSummary.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
-
vmwareSoftwareVersion
public EsxiHostSummary.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
-
nonUpgradedEsxiHostId
public EsxiHostSummary.Builder nonUpgradedEsxiHostId(String nonUpgradedEsxiHostId)
The OCID of the ESXi host that will be upgraded.- Parameters:
nonUpgradedEsxiHostId
- the value to set- Returns:
- this builder
-
upgradedReplacementEsxiHostId
public EsxiHostSummary.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
-
computeAvailabilityDomain
public EsxiHostSummary.Builder computeAvailabilityDomain(String computeAvailabilityDomain)
The availability domain of the ESXi host.- Parameters:
computeAvailabilityDomain
- the value to set- Returns:
- this builder
-
hostShapeName
public EsxiHostSummary.Builder hostShapeName(String hostShapeName)
The compute shape name of the ESXi host.listSupportedHostShapes
.- Parameters:
hostShapeName
- the value to set- Returns:
- this builder
-
hostOcpuCount
public EsxiHostSummary.Builder hostOcpuCount(Float hostOcpuCount)
The OCPU count of the ESXi host.- Parameters:
hostOcpuCount
- the value to set- Returns:
- this builder
-
billingDonorHostId
public EsxiHostSummary.Builder billingDonorHostId(String billingDonorHostId)
The OCID of the deleted ESXi Host with LeftOver billing cycle.- Parameters:
billingDonorHostId
- the value to set- Returns:
- this builder
-
swapBillingHostId
public EsxiHostSummary.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
-
isBillingContinuationInProgress
public EsxiHostSummary.Builder isBillingContinuationInProgress(Boolean isBillingContinuationInProgress)
Indicates whether this host is in the progress of billing continuation.- Parameters:
isBillingContinuationInProgress
- the value to set- Returns:
- this builder
-
isBillingSwappingInProgress
public EsxiHostSummary.Builder isBillingSwappingInProgress(Boolean isBillingSwappingInProgress)
Indicates whether this host is in the progress of swapping billing.- Parameters:
isBillingSwappingInProgress
- the value to set- Returns:
- this builder
-
freeformTags
public EsxiHostSummary.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 EsxiHostSummary.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 EsxiHostSummary.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 EsxiHostSummary build()
-
copy
public EsxiHostSummary.Builder copy(EsxiHostSummary model)
-
-