Package com.oracle.bmc.ocvp.model
Class CreateByolDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.ocvp.model.CreateByolDetails.Builder
-
- Enclosing class:
- CreateByolDetails
public static class CreateByolDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateByolDetailsbuild()CreateByolDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the BYOL.CreateByolDetails.Buildercopy(CreateByolDetails model)CreateByolDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateByolDetails.Builderdescription(String description)A description of the BYOL.CreateByolDetails.BuilderdisplayName(String displayName)A descriptive name for the BYOL.CreateByolDetails.BuilderentitlementKey(String entitlementKey)The Broadcom-supplied identifier of a BYOL license.CreateByolDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreateByolDetails.BuildersoftwareType(Byol.SoftwareType softwareType)The type of VMware software the BYOL applies to.CreateByolDetails.BuildertimeTermEnd(Date timeTermEnd)The date and time when the BYOL expires and becomes inactive.CreateByolDetails.BuildertimeTermStart(Date timeTermStart)The date and time when the BYOL becomes active.CreateByolDetails.BuildertotalUnits(Integer totalUnits)Total quantity of licensed units for the specified softwareType:
-
-
-
Method Detail
-
compartmentId
public CreateByolDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the BYOL.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public CreateByolDetails.Builder displayName(String displayName)
A descriptive name for the BYOL.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public CreateByolDetails.Builder description(String description)
A description of the BYOL.- Parameters:
description- the value to set- Returns:
- this builder
-
softwareType
public CreateByolDetails.Builder softwareType(Byol.SoftwareType softwareType)
The type of VMware software the BYOL applies to.Supported values: - VCF (VMware Cloud Foundation) - VSAN (VMware vSAN) - VDEFEND (VMware vDefend Firewall) - AVI_LOAD_BALANCER (VMware Avi Load Balancer)
- Parameters:
softwareType- the value to set- Returns:
- this builder
-
totalUnits
public CreateByolDetails.Builder totalUnits(Integer totalUnits)
Total quantity of licensed units for the specified softwareType:- VCF, VDEFEND: number of OCPUs - VSAN: storage capacity in TiB (tebibytes) - AVI_LOAD_BALANCER: number of instances
- Parameters:
totalUnits- the value to set- Returns:
- this builder
-
timeTermStart
public CreateByolDetails.Builder timeTermStart(Date timeTermStart)
The date and time when the BYOL becomes active.VMware software functionality cannot begin before this time. In the format defined byRFC3339. Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeTermStart- the value to set- Returns:
- this builder
-
timeTermEnd
public CreateByolDetails.Builder timeTermEnd(Date timeTermEnd)
The date and time when the BYOL expires and becomes inactive.In the format defined byRFC3339.
- Parameters:
timeTermEnd- the value to set- Returns:
- this builder
-
entitlementKey
public CreateByolDetails.Builder entitlementKey(String entitlementKey)
The Broadcom-supplied identifier of a BYOL license.- Parameters:
entitlementKey- the value to set- Returns:
- this builder
-
freeformTags
public CreateByolDetails.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 CreateByolDetails.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 CreateByolDetails build()
-
copy
public CreateByolDetails.Builder copy(CreateByolDetails model)
-
-