Class ProductLicenseSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.licensemanager.model.ProductLicenseSummary.Builder
 
- 
- Enclosing class:
- ProductLicenseSummary
 
 public static class ProductLicenseSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ProductLicenseSummary.BuilderactiveLicenseRecordCount(Integer activeLicenseRecordCount)The number of active license records associated with the product license.ProductLicenseSummarybuild()ProductLicenseSummary.BuildercompartmentId(String compartmentId)The compartment OCID where the product license is created.ProductLicenseSummary.Buildercopy(ProductLicenseSummary model)ProductLicenseSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ProductLicenseSummary.BuilderdisplayName(String displayName)License record nameProductLicenseSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type, or scope.ProductLicenseSummary.Builderid(String id)The product license OCID.ProductLicenseSummary.Builderimages(List<ImageResponse> images)The images associated with the product license.ProductLicenseSummary.BuilderisOverSubscribed(Boolean isOverSubscribed)Specifies whether or not the product license is oversubscribed.ProductLicenseSummary.BuilderisUnlimited(Boolean isUnlimited)Specifies if the license unit count is unlimited.ProductLicenseSummary.BuilderisVendorOracle(Boolean isVendorOracle)Specifies whether the vendor is Oracle or a third party.ProductLicenseSummary.BuilderlicenseUnit(LicenseUnit licenseUnit)The product license unit.ProductLicenseSummary.BuilderlifecycleState(LifeCycleState lifecycleState)The current product license state.ProductLicenseSummary.Builderstatus(Status status)The current product license status.ProductLicenseSummary.BuilderstatusDescription(String statusDescription)Status description for the current product license status.ProductLicenseSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.ProductLicenseSummary.BuildertimeCreated(Date timeCreated)The time the product license was created.ProductLicenseSummary.BuildertimeUpdated(Date timeUpdated)The time the product license was updated.ProductLicenseSummary.BuildertotalActiveLicenseUnitCount(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.BuildertotalLicenseRecordCount(Integer totalLicenseRecordCount)The number of license records associated with the product license.ProductLicenseSummary.BuildertotalLicenseUnitsConsumed(Double totalLicenseUnitsConsumed)The number of license units consumed.ProductLicenseSummary.BuildervendorName(String vendorName)The vendor of the ProductLicense
 
- 
- 
- 
Method Detail- 
idpublic ProductLicenseSummary.Builder id(String id) The product license OCID.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic ProductLicenseSummary.Builder compartmentId(String compartmentId) The compartment OCID where the product license is created.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
statuspublic ProductLicenseSummary.Builder status(Status status) The current product license status.- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
statusDescriptionpublic ProductLicenseSummary.Builder statusDescription(String statusDescription) Status description for the current product license status.- Parameters:
- statusDescription- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic ProductLicenseSummary.Builder lifecycleState(LifeCycleState lifecycleState) The current product license state.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
totalActiveLicenseUnitCountpublic 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.- Parameters:
- totalActiveLicenseUnitCount- the value to set
- Returns:
- this builder
 
 - 
totalLicenseUnitsConsumedpublic ProductLicenseSummary.Builder totalLicenseUnitsConsumed(Double totalLicenseUnitsConsumed) The number of license units consumed.Updated after each allocation run. - Parameters:
- totalLicenseUnitsConsumed- the value to set
- Returns:
- this builder
 
 - 
totalLicenseRecordCountpublic ProductLicenseSummary.Builder totalLicenseRecordCount(Integer totalLicenseRecordCount) The number of license records associated with the product license.- Parameters:
- totalLicenseRecordCount- the value to set
- Returns:
- this builder
 
 - 
activeLicenseRecordCountpublic ProductLicenseSummary.Builder activeLicenseRecordCount(Integer activeLicenseRecordCount) The number of active license records associated with the product license.- Parameters:
- activeLicenseRecordCount- the value to set
- Returns:
- this builder
 
 - 
licenseUnitpublic ProductLicenseSummary.Builder licenseUnit(LicenseUnit licenseUnit) The product license unit.- Parameters:
- licenseUnit- the value to set
- Returns:
- this builder
 
 - 
isVendorOraclepublic ProductLicenseSummary.Builder isVendorOracle(Boolean isVendorOracle) Specifies whether the vendor is Oracle or a third party.- Parameters:
- isVendorOracle- the value to set
- Returns:
- this builder
 
 - 
isOverSubscribedpublic ProductLicenseSummary.Builder isOverSubscribed(Boolean isOverSubscribed) Specifies whether or not the product license is oversubscribed.- Parameters:
- isOverSubscribed- the value to set
- Returns:
- this builder
 
 - 
isUnlimitedpublic ProductLicenseSummary.Builder isUnlimited(Boolean isUnlimited) Specifies if the license unit count is unlimited.- Parameters:
- isUnlimited- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic ProductLicenseSummary.Builder displayName(String displayName) License record name- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
vendorNamepublic ProductLicenseSummary.Builder vendorName(String vendorName) The vendor of the ProductLicense- Parameters:
- vendorName- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic ProductLicenseSummary.Builder timeCreated(Date timeCreated) The time the product license was created.An RFC 3339-formatted datetime string. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic ProductLicenseSummary.Builder timeUpdated(Date timeUpdated) The time the product license was updated.An RFC 3339-formatted datetime string. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
imagespublic ProductLicenseSummary.Builder images(List<ImageResponse> images) The images associated with the product license.- Parameters:
- images- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic ProductLicenseSummary build() 
 - 
copypublic ProductLicenseSummary.Builder copy(ProductLicenseSummary model) 
 
- 
 
-