Class TopUtilizedProductLicenseSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.licensemanager.model.TopUtilizedProductLicenseSummary.Builder
-
- Enclosing class:
- TopUtilizedProductLicenseSummary
public static class TopUtilizedProductLicenseSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
productLicenseId
public TopUtilizedProductLicenseSummary.Builder productLicenseId(String productLicenseId)
The product license OCID.- Parameters:
productLicenseId
- the value to set- Returns:
- this builder
-
productType
public TopUtilizedProductLicenseSummary.Builder productType(String productType)
The product type.- Parameters:
productType
- the value to set- Returns:
- this builder
-
unitType
public TopUtilizedProductLicenseSummary.Builder unitType(LicenseUnit unitType)
The product license unit.- Parameters:
unitType
- the value to set- Returns:
- this builder
-
totalUnitsConsumed
public TopUtilizedProductLicenseSummary.Builder totalUnitsConsumed(Double totalUnitsConsumed)
Number of license units consumed.- Parameters:
totalUnitsConsumed
- the value to set- Returns:
- this builder
-
totalLicenseUnitCount
public TopUtilizedProductLicenseSummary.Builder totalLicenseUnitCount(Integer totalLicenseUnitCount)
Total number of license units in the product license provided by the user.- Parameters:
totalLicenseUnitCount
- the value to set- Returns:
- this builder
-
isUnlimited
public TopUtilizedProductLicenseSummary.Builder isUnlimited(Boolean isUnlimited)
Specifies if the license unit count is unlimited.- Parameters:
isUnlimited
- the value to set- Returns:
- this builder
-
status
public TopUtilizedProductLicenseSummary.Builder status(Status status)
The current product license status.- Parameters:
status
- the value to set- Returns:
- this builder
-
build
public TopUtilizedProductLicenseSummary build()
-
copy
public TopUtilizedProductLicenseSummary.Builder copy(TopUtilizedProductLicenseSummary model)
-
-