Package com.oracle.bmc.ocvp.model
Class CreateByolAllocationDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.ocvp.model.CreateByolAllocationDetails.Builder
-
- Enclosing class:
- CreateByolAllocationDetails
public static class CreateByolAllocationDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateByolAllocationDetails.BuilderallocatedUnits(Integer allocatedUnits)The quantity of licensed units that allocated to this region.CreateByolAllocationDetailsbuild()CreateByolAllocationDetails.BuilderbyolId(String byolId)The OCID of the BYOL resource from which this BYOL Allocation is derived.CreateByolAllocationDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the BYOL Allocation.CreateByolAllocationDetails.Buildercopy(CreateByolAllocationDetails model)CreateByolAllocationDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateByolAllocationDetails.BuilderdisplayName(String displayName)A descriptive name for the BYOL Allocation.CreateByolAllocationDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.
-
-
-
Method Detail
-
byolId
public CreateByolAllocationDetails.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
-
allocatedUnits
public CreateByolAllocationDetails.Builder allocatedUnits(Integer allocatedUnits)
The quantity of licensed units that allocated to this region.- Parameters:
allocatedUnits- the value to set- Returns:
- this builder
-
compartmentId
public CreateByolAllocationDetails.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 CreateByolAllocationDetails.Builder displayName(String displayName)
A descriptive name for the BYOL Allocation.- Parameters:
displayName- the value to set- Returns:
- this builder
-
freeformTags
public CreateByolAllocationDetails.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 CreateByolAllocationDetails.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 CreateByolAllocationDetails build()
-
copy
public CreateByolAllocationDetails.Builder copy(CreateByolAllocationDetails model)
-
-