public static class ProductLicenseSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ProductLicenseSummary.Builder |
activeLicenseRecordCount(Integer activeLicenseRecordCount)
The number of active license records associated with the product license.
|
ProductLicenseSummary |
build() |
ProductLicenseSummary.Builder |
compartmentId(String compartmentId)
The compartment
OCID where
the product license is created.
|
ProductLicenseSummary.Builder |
copy(ProductLicenseSummary model) |
ProductLicenseSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ProductLicenseSummary.Builder |
displayName(String displayName)
License record name
|
ProductLicenseSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.
|
ProductLicenseSummary.Builder |
id(String id)
The product license
OCID.
|
ProductLicenseSummary.Builder |
images(List<ImageResponse> images)
The images associated with the product license.
|
ProductLicenseSummary.Builder |
isOverSubscribed(Boolean isOverSubscribed)
Specifies whether or not the product license is oversubscribed.
|
ProductLicenseSummary.Builder |
isUnlimited(Boolean isUnlimited)
Specifies if the license unit count is unlimited.
|
ProductLicenseSummary.Builder |
isVendorOracle(Boolean isVendorOracle)
Specifies whether the vendor is Oracle or a third party.
|
ProductLicenseSummary.Builder |
licenseUnit(LicenseUnit licenseUnit)
The product license unit.
|
ProductLicenseSummary.Builder |
lifecycleState(LifeCycleState lifecycleState)
The current product license state.
|
ProductLicenseSummary.Builder |
status(Status status)
The current product license status.
|
ProductLicenseSummary.Builder |
statusDescription(String statusDescription)
Status description for the current product license status.
|
ProductLicenseSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
ProductLicenseSummary.Builder |
timeCreated(Date timeCreated)
The time the product license was created.
|
ProductLicenseSummary.Builder |
timeUpdated(Date timeUpdated)
The time the product license was updated.
|
ProductLicenseSummary.Builder |
totalActiveLicenseUnitCount(Integer totalActiveLicenseUnitCount)
The total number of licenses available for the product license, calculated by adding up
all the license counts for active license records associated with the product license.
|
ProductLicenseSummary.Builder |
totalLicenseRecordCount(Integer totalLicenseRecordCount)
The number of license records associated with the product license.
|
ProductLicenseSummary.Builder |
totalLicenseUnitsConsumed(Double totalLicenseUnitsConsumed)
The number of license units consumed.
|
ProductLicenseSummary.Builder |
vendorName(String vendorName)
The vendor of the ProductLicense
|
public ProductLicenseSummary.Builder id(String id)
The product license OCID.
id
- the value to setpublic ProductLicenseSummary.Builder compartmentId(String compartmentId)
The compartment OCID where the product license is created.
compartmentId
- the value to setpublic ProductLicenseSummary.Builder status(Status status)
The current product license status.
status
- the value to setpublic ProductLicenseSummary.Builder statusDescription(String statusDescription)
Status description for the current product license status.
statusDescription
- the value to setpublic ProductLicenseSummary.Builder lifecycleState(LifeCycleState lifecycleState)
The current product license state.
lifecycleState
- the value to setpublic ProductLicenseSummary.Builder totalActiveLicenseUnitCount(Integer totalActiveLicenseUnitCount)
The total number of licenses available for the product license, calculated by adding up all the license counts for active license records associated with the product license.
totalActiveLicenseUnitCount
- the value to setpublic ProductLicenseSummary.Builder totalLicenseUnitsConsumed(Double totalLicenseUnitsConsumed)
The number of license units consumed. Updated after each allocation run.
totalLicenseUnitsConsumed
- the value to setpublic ProductLicenseSummary.Builder totalLicenseRecordCount(Integer totalLicenseRecordCount)
The number of license records associated with the product license.
totalLicenseRecordCount
- the value to setpublic ProductLicenseSummary.Builder activeLicenseRecordCount(Integer activeLicenseRecordCount)
The number of active license records associated with the product license.
activeLicenseRecordCount
- the value to setpublic ProductLicenseSummary.Builder licenseUnit(LicenseUnit licenseUnit)
The product license unit.
licenseUnit
- the value to setpublic ProductLicenseSummary.Builder isVendorOracle(Boolean isVendorOracle)
Specifies whether the vendor is Oracle or a third party.
isVendorOracle
- the value to setpublic ProductLicenseSummary.Builder isOverSubscribed(Boolean isOverSubscribed)
Specifies whether or not the product license is oversubscribed.
isOverSubscribed
- the value to setpublic ProductLicenseSummary.Builder isUnlimited(Boolean isUnlimited)
Specifies if the license unit count is unlimited.
isUnlimited
- the value to setpublic ProductLicenseSummary.Builder displayName(String displayName)
License record name
displayName
- the value to setpublic ProductLicenseSummary.Builder vendorName(String vendorName)
The vendor of the ProductLicense
vendorName
- the value to setpublic ProductLicenseSummary.Builder timeCreated(Date timeCreated)
The time the product license was created. An RFC 3339-formatted datetime string.
timeCreated
- the value to setpublic ProductLicenseSummary.Builder timeUpdated(Date timeUpdated)
The time the product license was updated. An RFC 3339-formatted datetime string.
timeUpdated
- the value to setpublic ProductLicenseSummary.Builder images(List<ImageResponse> images)
The images associated with the product license.
images
- the value to setpublic ProductLicenseSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic ProductLicenseSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic ProductLicenseSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic ProductLicenseSummary build()
public ProductLicenseSummary.Builder copy(ProductLicenseSummary model)
Copyright © 2016–2024. All rights reserved.