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