Class LicenseMetric.Builder
- java.lang.Object
-
- com.oracle.bmc.licensemanager.model.LicenseMetric.Builder
-
- Enclosing class:
- LicenseMetric
public static class LicenseMetric.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LicenseMetric
build()
LicenseMetric.Builder
copy(LicenseMetric model)
LicenseMetric.Builder
licenseRecordExpiringSoonCount(Integer licenseRecordExpiringSoonCount)
Total number of license records that will expire within 90 days in a particular compartment.LicenseMetric.Builder
totalByolInstanceCount(Integer totalByolInstanceCount)
Total number of BYOL instances in a particular compartment.LicenseMetric.Builder
totalLicenseIncludedInstanceCount(Integer totalLicenseIncludedInstanceCount)
Total number of License Included (LI) instances in a particular compartment.LicenseMetric.Builder
totalProductLicenseCount(Integer totalProductLicenseCount)
Total number of product licenses in a particular compartment.
-
-
-
Method Detail
-
totalProductLicenseCount
public LicenseMetric.Builder totalProductLicenseCount(Integer totalProductLicenseCount)
Total number of product licenses in a particular compartment.- Parameters:
totalProductLicenseCount
- the value to set- Returns:
- this builder
-
totalByolInstanceCount
public LicenseMetric.Builder totalByolInstanceCount(Integer totalByolInstanceCount)
Total number of BYOL instances in a particular compartment.- Parameters:
totalByolInstanceCount
- the value to set- Returns:
- this builder
-
totalLicenseIncludedInstanceCount
public LicenseMetric.Builder totalLicenseIncludedInstanceCount(Integer totalLicenseIncludedInstanceCount)
Total number of License Included (LI) instances in a particular compartment.- Parameters:
totalLicenseIncludedInstanceCount
- the value to set- Returns:
- this builder
-
licenseRecordExpiringSoonCount
public LicenseMetric.Builder licenseRecordExpiringSoonCount(Integer licenseRecordExpiringSoonCount)
Total number of license records that will expire within 90 days in a particular compartment.- Parameters:
licenseRecordExpiringSoonCount
- the value to set- Returns:
- this builder
-
build
public LicenseMetric build()
-
copy
public LicenseMetric.Builder copy(LicenseMetric model)
-
-