public static class ProductLicenseConsumerSummary.Builder extends Object
| Constructor and Description |
|---|
Builder() |
public ProductLicenseConsumerSummary.Builder resourceId(String resourceId)
The OCID of the resource.
resourceId - the value to setpublic ProductLicenseConsumerSummary.Builder resourceName(String resourceName)
The display name of the resource.
resourceName - the value to setpublic ProductLicenseConsumerSummary.Builder productName(String productName)
The resource product name.
productName - the value to setpublic ProductLicenseConsumerSummary.Builder resourceCompartmentId(String resourceCompartmentId)
The OCID of the compartment that contains the resource.
resourceCompartmentId - the value to setpublic ProductLicenseConsumerSummary.Builder resourceCompartmentName(String resourceCompartmentName)
The display name of the compartment that contains the resource.
resourceCompartmentName - the value to setpublic ProductLicenseConsumerSummary.Builder resourceUnitType(ResourceUnit resourceUnitType)
The unit type for the resource.
resourceUnitType - the value to setpublic ProductLicenseConsumerSummary.Builder resourceUnitCount(Double resourceUnitCount)
Number of units of the resource
resourceUnitCount - the value to setpublic ProductLicenseConsumerSummary.Builder licenseUnitType(LicenseUnit licenseUnitType)
The product license unit.
licenseUnitType - the value to setpublic ProductLicenseConsumerSummary.Builder licenseUnitsConsumed(Double licenseUnitsConsumed)
Number of license units consumed by the resource.
licenseUnitsConsumed - the value to setpublic ProductLicenseConsumerSummary.Builder isBaseLicenseAvailable(Boolean isBaseLicenseAvailable)
Specifies if the base license is available.
isBaseLicenseAvailable - the value to setpublic ProductLicenseConsumerSummary.Builder areAllOptionsAvailable(Boolean areAllOptionsAvailable)
Specifies if all options are available.
areAllOptionsAvailable - the value to setpublic ProductLicenseConsumerSummary.Builder missingProducts(List<Product> missingProducts)
Collection of missing product licenses.
missingProducts - the value to setpublic ProductLicenseConsumerSummary build()
public ProductLicenseConsumerSummary.Builder copy(ProductLicenseConsumerSummary model)
Copyright © 2016–2024. All rights reserved.