public static class EsxiHostSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public EsxiHostSummary.Builder id(String id)
The OCID of the ESXi host.
id
- the value to setpublic 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.
displayName
- the value to setpublic EsxiHostSummary.Builder sddcId(String sddcId)
The OCID of the SDDC that the ESXi host belongs to.
sddcId
- the value to setpublic EsxiHostSummary.Builder clusterId(String clusterId)
The OCID of the Cluster that the ESXi host belongs to.
clusterId
- the value to setpublic EsxiHostSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the Cluster.
compartmentId
- the value to setpublic 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.
computeInstanceId
- the value to setpublic 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
timeCreated
- the value to setpublic EsxiHostSummary.Builder timeUpdated(Date timeUpdated)
The date and time the ESXi host was updated, in the format defined by RFC3339.
timeUpdated
- the value to setpublic EsxiHostSummary.Builder lifecycleState(LifecycleStates lifecycleState)
The current state of the ESXi host.
lifecycleState
- the value to setpublic EsxiHostSummary.Builder currentCommitment(Commitment currentCommitment)
The billing option currently used by the ESXi host. listSupportedCommitments
.
currentCommitment
- the value to setpublic 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
.
nextCommitment
- the value to setpublic 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
billingContractEndDate
- the value to setpublic EsxiHostSummary.Builder failedEsxiHostId(String failedEsxiHostId)
The OCID of the ESXi host that failed.
failedEsxiHostId
- the value to setpublic EsxiHostSummary.Builder replacementEsxiHostId(String replacementEsxiHostId)
The OCID of the ESXi host that is newly created to replace the failed host.
replacementEsxiHostId
- the value to setpublic 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
gracePeriodEndDate
- the value to setpublic EsxiHostSummary.Builder vmwareSoftwareVersion(String vmwareSoftwareVersion)
The version of VMware software that Oracle Cloud VMware Solution installed on the ESXi hosts.
vmwareSoftwareVersion
- the value to setpublic EsxiHostSummary.Builder nonUpgradedEsxiHostId(String nonUpgradedEsxiHostId)
The OCID of the ESXi host that will be upgraded.
nonUpgradedEsxiHostId
- the value to setpublic EsxiHostSummary.Builder upgradedReplacementEsxiHostId(String upgradedReplacementEsxiHostId)
The OCID of the ESXi host that is newly created to upgrade the original host.
upgradedReplacementEsxiHostId
- the value to setpublic EsxiHostSummary.Builder computeAvailabilityDomain(String computeAvailabilityDomain)
The availability domain of the ESXi host.
computeAvailabilityDomain
- the value to setpublic EsxiHostSummary.Builder hostShapeName(String hostShapeName)
The compute shape name of the ESXi host. listSupportedHostShapes
.
hostShapeName
- the value to setpublic EsxiHostSummary.Builder hostOcpuCount(Float hostOcpuCount)
The OCPU count of the ESXi host.
hostOcpuCount
- the value to setpublic EsxiHostSummary.Builder billingDonorHostId(String billingDonorHostId)
The OCID of the deleted ESXi Host with LeftOver billing cycle.
billingDonorHostId
- the value to setpublic EsxiHostSummary.Builder swapBillingHostId(String swapBillingHostId)
The OCID of the active ESXi Host to swap billing with current host.
swapBillingHostId
- the value to setpublic EsxiHostSummary.Builder isBillingContinuationInProgress(Boolean isBillingContinuationInProgress)
Indicates whether this host is in the progress of billing continuation.
isBillingContinuationInProgress
- the value to setpublic EsxiHostSummary.Builder isBillingSwappingInProgress(Boolean isBillingSwappingInProgress)
Indicates whether this host is in the progress of swapping billing.
isBillingSwappingInProgress
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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}}
systemTags
- the value to setpublic EsxiHostSummary build()
public EsxiHostSummary.Builder copy(EsxiHostSummary model)
Copyright © 2016–2024. All rights reserved.