Package com.oracle.bmc.ocvp.model
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.Builder
billingDonorHostId(String billingDonorHostId)
The OCID of the deleted ESXi Host with LeftOver billing cycle.UpdateEsxiHostDetails
build()
UpdateEsxiHostDetails.Builder
copy(UpdateEsxiHostDetails model)
UpdateEsxiHostDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdateEsxiHostDetails.Builder
displayName(String displayName)
A descriptive name for the ESXi host.UpdateEsxiHostDetails.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.UpdateEsxiHostDetails.Builder
nextCommitment(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-16 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.- 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)
-
-