Class ProductLicenseConsumerSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.licensemanager.model.ProductLicenseConsumerSummary.Builder
-
- Enclosing class:
- ProductLicenseConsumerSummary
public static class ProductLicenseConsumerSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
resourceId
public ProductLicenseConsumerSummary.Builder resourceId(String resourceId)
The OCID of the resource.- Parameters:
resourceId
- the value to set- Returns:
- this builder
-
resourceName
public ProductLicenseConsumerSummary.Builder resourceName(String resourceName)
The display name of the resource.- Parameters:
resourceName
- the value to set- Returns:
- this builder
-
productName
public ProductLicenseConsumerSummary.Builder productName(String productName)
The resource product name.- Parameters:
productName
- the value to set- Returns:
- this builder
-
resourceCompartmentId
public ProductLicenseConsumerSummary.Builder resourceCompartmentId(String resourceCompartmentId)
The OCID of the compartment that contains the resource.- Parameters:
resourceCompartmentId
- the value to set- Returns:
- this builder
-
resourceCompartmentName
public ProductLicenseConsumerSummary.Builder resourceCompartmentName(String resourceCompartmentName)
The display name of the compartment that contains the resource.- Parameters:
resourceCompartmentName
- the value to set- Returns:
- this builder
-
resourceUnitType
public ProductLicenseConsumerSummary.Builder resourceUnitType(ResourceUnit resourceUnitType)
The unit type for the resource.- Parameters:
resourceUnitType
- the value to set- Returns:
- this builder
-
resourceUnitCount
public ProductLicenseConsumerSummary.Builder resourceUnitCount(Double resourceUnitCount)
Number of units of the resource- Parameters:
resourceUnitCount
- the value to set- Returns:
- this builder
-
licenseUnitType
public ProductLicenseConsumerSummary.Builder licenseUnitType(LicenseUnit licenseUnitType)
The product license unit.- Parameters:
licenseUnitType
- the value to set- Returns:
- this builder
-
licenseUnitsConsumed
public ProductLicenseConsumerSummary.Builder licenseUnitsConsumed(Double licenseUnitsConsumed)
Number of license units consumed by the resource.- Parameters:
licenseUnitsConsumed
- the value to set- Returns:
- this builder
-
isBaseLicenseAvailable
public ProductLicenseConsumerSummary.Builder isBaseLicenseAvailable(Boolean isBaseLicenseAvailable)
Specifies if the base license is available.- Parameters:
isBaseLicenseAvailable
- the value to set- Returns:
- this builder
-
areAllOptionsAvailable
public ProductLicenseConsumerSummary.Builder areAllOptionsAvailable(Boolean areAllOptionsAvailable)
Specifies if all options are available.- Parameters:
areAllOptionsAvailable
- the value to set- Returns:
- this builder
-
missingProducts
public ProductLicenseConsumerSummary.Builder missingProducts(List<Product> missingProducts)
Collection of missing product licenses.- Parameters:
missingProducts
- the value to set- Returns:
- this builder
-
build
public ProductLicenseConsumerSummary build()
-
copy
public ProductLicenseConsumerSummary.Builder copy(ProductLicenseConsumerSummary model)
-
-