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