public static class LicenseRecord.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LicenseRecord |
build() |
LicenseRecord.Builder |
compartmentId(String compartmentId)
The compartment
OCID where
the license record is created.
|
LicenseRecord.Builder |
copy(LicenseRecord model) |
LicenseRecord.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
LicenseRecord.Builder |
displayName(String displayName)
The license record display name.
|
LicenseRecord.Builder |
expirationDate(Date expirationDate)
The license record end date in RFC 3339 date
format.
|
LicenseRecord.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.
|
LicenseRecord.Builder |
id(String id)
The license record
OCID.
|
LicenseRecord.Builder |
isPerpetual(Boolean isPerpetual)
Specifies if the license record term is perpertual.
|
LicenseRecord.Builder |
isUnlimited(Boolean isUnlimited)
Specifies if the license count is unlimited.
|
LicenseRecord.Builder |
licenseCount(Integer licenseCount)
The number of license units added by the user for the given license record.
|
LicenseRecord.Builder |
licenseUnit(LicenseUnit licenseUnit)
The product license unit.
|
LicenseRecord.Builder |
lifecycleState(LifeCycleState lifecycleState)
The current license record state.
|
LicenseRecord.Builder |
productId(String productId)
The license record product ID.
|
LicenseRecord.Builder |
productLicense(String productLicense)
The product license name with which the license record is associated.
|
LicenseRecord.Builder |
productLicenseId(String productLicenseId)
The product license
OCID with
which the license record is associated.
|
LicenseRecord.Builder |
supportEndDate(Date supportEndDate)
The license record support end date in RFC 3339
date format.
|
LicenseRecord.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
LicenseRecord.Builder |
timeCreated(Date timeCreated)
The time the license record was created.
|
LicenseRecord.Builder |
timeUpdated(Date timeUpdated)
The time the license record was updated.
|
public LicenseRecord.Builder id(String id)
The license record OCID.
id
- the value to setpublic LicenseRecord.Builder productLicenseId(String productLicenseId)
The product license OCID with which the license record is associated.
productLicenseId
- the value to setpublic LicenseRecord.Builder compartmentId(String compartmentId)
The compartment OCID where the license record is created.
compartmentId
- the value to setpublic LicenseRecord.Builder displayName(String displayName)
The license record display name. Avoid entering confidential information.
displayName
- the value to setpublic LicenseRecord.Builder productId(String productId)
The license record product ID.
productId
- the value to setpublic LicenseRecord.Builder licenseCount(Integer licenseCount)
The number of license units added by the user for the given license record. Default 1
licenseCount
- the value to setpublic LicenseRecord.Builder expirationDate(Date expirationDate)
The license record end date in RFC 3339 date
format. Example: 2018-09-12
expirationDate
- the value to setpublic LicenseRecord.Builder supportEndDate(Date supportEndDate)
The license record support end date in RFC 3339
date format. Example: 2018-09-12
supportEndDate
- the value to setpublic LicenseRecord.Builder isUnlimited(Boolean isUnlimited)
Specifies if the license count is unlimited.
isUnlimited
- the value to setpublic LicenseRecord.Builder isPerpetual(Boolean isPerpetual)
Specifies if the license record term is perpertual.
isPerpetual
- the value to setpublic LicenseRecord.Builder timeCreated(Date timeCreated)
The time the license record was created. An RFC 3339-formatted datetime string.
timeCreated
- the value to setpublic LicenseRecord.Builder timeUpdated(Date timeUpdated)
The time the license record was updated. An RFC 3339-formatted datetime string.
timeUpdated
- the value to setpublic LicenseRecord.Builder lifecycleState(LifeCycleState lifecycleState)
The current license record state.
lifecycleState
- the value to setpublic LicenseRecord.Builder licenseUnit(LicenseUnit licenseUnit)
The product license unit.
licenseUnit
- the value to setpublic LicenseRecord.Builder productLicense(String productLicense)
The product license name with which the license record is associated.
productLicense
- the value to setpublic LicenseRecord.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 LicenseRecord.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 LicenseRecord.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 LicenseRecord build()
public LicenseRecord.Builder copy(LicenseRecord model)
Copyright © 2016–2025. All rights reserved.