Package com.oracle.bmc.ocvp.model
Class ByolRealmAllocationSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.ocvp.model.ByolRealmAllocationSummary.Builder
-
- Enclosing class:
- ByolRealmAllocationSummary
public static class ByolRealmAllocationSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByolRealmAllocationSummary.BuilderallocatedUnits(Integer allocatedUnits)The quantity of licensed units that allocated to this region.ByolRealmAllocationSummarybuild()ByolRealmAllocationSummary.BuilderbyolId(String byolId)The OCID of the BYOL resource from which this BYOL Allocation is derived.ByolRealmAllocationSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the BYOL Allocation.ByolRealmAllocationSummary.Buildercopy(ByolRealmAllocationSummary model)ByolRealmAllocationSummary.Builderregion(String region)The region name for this allocation, in the format defined by Region Identifier.ByolRealmAllocationSummary.BuildertimeCreated(Date timeCreated)The date and time the BYOL Allocation was created, in the format defined by RFC3339.ByolRealmAllocationSummary.BuildertimeUpdated(Date timeUpdated)The date and time the BYOL Allocation was updated, in the format defined by RFC3339.
-
-
-
Method Detail
-
byolId
public ByolRealmAllocationSummary.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
-
region
public ByolRealmAllocationSummary.Builder region(String region)
The region name for this allocation, in the format defined by Region Identifier.Example: ap-sydney-1
- Parameters:
region- the value to set- Returns:
- this builder
-
compartmentId
public ByolRealmAllocationSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the BYOL Allocation.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
allocatedUnits
public ByolRealmAllocationSummary.Builder allocatedUnits(Integer allocatedUnits)
The quantity of licensed units that allocated to this region.- Parameters:
allocatedUnits- the value to set- Returns:
- this builder
-
timeCreated
public ByolRealmAllocationSummary.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 ByolRealmAllocationSummary.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
-
build
public ByolRealmAllocationSummary build()
-
copy
public ByolRealmAllocationSummary.Builder copy(ByolRealmAllocationSummary model)
-
-