Class Byol.Builder
- java.lang.Object
-
- com.oracle.bmc.ocvp.model.Byol.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Byol.BuilderavailableUnits(Integer availableUnits)The quantity of licensed units that not yet allocated to specific region.Byolbuild()Byol.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the BYOL.Byol.Buildercopy(Byol model)Byol.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Byol.Builderdescription(String description)A description of the BYOL.Byol.BuilderdisplayName(String displayName)A descriptive name for the BYOL.Byol.BuilderentitlementKey(String entitlementKey)The Broadcom-supplied identifier of a BYOL license.Byol.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.Byol.Builderid(String id)The OCID of the BYOL.Byol.BuilderlifecycleState(Byol.LifecycleState lifecycleState)The current state of the BYOL.Byol.BuildersoftwareType(Byol.SoftwareType softwareType)The type of VMware software the BYOL applies to.Byol.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.Byol.BuildertimeCreated(Date timeCreated)The date and time the BYOL was created, in the format defined by RFC3339.Byol.BuildertimeTermEnd(Date timeTermEnd)The date and time when the BYOL expires and becomes inactive.Byol.BuildertimeTermStart(Date timeTermStart)The date and time when the BYOL becomes active.Byol.BuildertimeUpdated(Date timeUpdated)The date and time the BYOL was updated, in the format defined by RFC3339.Byol.BuildertotalUnits(Integer totalUnits)Total quantity of licensed units for the specified softwareType:
-
-
-
Method Detail
-
id
public Byol.Builder id(String id)
The OCID of the BYOL.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public Byol.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the BYOL.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public Byol.Builder displayName(String displayName)
A descriptive name for the BYOL.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public Byol.Builder description(String description)
A description of the BYOL.- Parameters:
description- the value to set- Returns:
- this builder
-
lifecycleState
public Byol.Builder lifecycleState(Byol.LifecycleState lifecycleState)
The current state of the BYOL.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
softwareType
public Byol.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 Byol.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
-
availableUnits
public Byol.Builder availableUnits(Integer availableUnits)
The quantity of licensed units that not yet allocated to specific region.- Parameters:
availableUnits- the value to set- Returns:
- this builder
-
timeTermStart
public Byol.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 Byol.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 Byol.Builder entitlementKey(String entitlementKey)
The Broadcom-supplied identifier of a BYOL license.- Parameters:
entitlementKey- the value to set- Returns:
- this builder
-
timeCreated
public Byol.Builder timeCreated(Date timeCreated)
The date and time the BYOL 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 Byol.Builder timeUpdated(Date timeUpdated)
The date and time the BYOL was updated, in the format defined by RFC3339.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
freeformTags
public Byol.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 Byol.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 Byol.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 Byol build()
-
copy
public Byol.Builder copy(Byol model)
-
-