Class UpdateEsxiHostDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.ocvp.model.UpdateEsxiHostDetails.Builder
-
- Enclosing class:
- UpdateEsxiHostDetails
public static class UpdateEsxiHostDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateEsxiHostDetails.BuilderbillingDonorHostId(String billingDonorHostId)The OCID of the deleted ESXi Host with leftover billing cycle.UpdateEsxiHostDetailsbuild()UpdateEsxiHostDetails.Buildercopy(UpdateEsxiHostDetails model)UpdateEsxiHostDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.UpdateEsxiHostDetails.BuilderdisplayName(String displayName)A descriptive name for the ESXi host.UpdateEsxiHostDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.UpdateEsxiHostDetails.BuildernextCommitment(Commitment nextCommitment)The billing option to switch to after the existing billing cycle ends.
-
-
-
Method Detail
-
displayName
public UpdateEsxiHostDetails.Builder displayName(String displayName)
A descriptive name for the ESXi host.It’s changeable. Esxi Host name requirements are 1-25 character length limit, Must start with a letter, Must be English letters, numbers,
- only, No repeating hyphens, Must be unique within the Cluster.
Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
nextCommitment
public UpdateEsxiHostDetails.Builder nextCommitment(Commitment nextCommitment)
The billing option to switch to after the existing 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
-
billingDonorHostId
public UpdateEsxiHostDetails.Builder billingDonorHostId(String billingDonorHostId)
The OCID of the deleted ESXi Host with leftover billing cycle.*Note:** This option also requires the nextCommitment parameter to be populated with a value other than HOUR. Otherwise, any update request fails with the error \u201cNext SKU can\u2019t be NULL or Hourly.\u201d
- Parameters:
billingDonorHostId- the value to set- Returns:
- this builder
-
freeformTags
public UpdateEsxiHostDetails.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 UpdateEsxiHostDetails.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
-
build
public UpdateEsxiHostDetails build()
-
copy
public UpdateEsxiHostDetails.Builder copy(UpdateEsxiHostDetails model)
-
-