Class LicenseRecordSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.licensemanager.model.LicenseRecordSummary.Builder
-
- Enclosing class:
- LicenseRecordSummary
public static class LicenseRecordSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
id
public LicenseRecordSummary.Builder id(String id)
The license record OCID.- Parameters:
id
- the value to set- Returns:
- this builder
-
productLicenseId
public LicenseRecordSummary.Builder productLicenseId(String productLicenseId)
The product license OCID with which the license record is associated.- Parameters:
productLicenseId
- the value to set- Returns:
- this builder
-
compartmentId
public LicenseRecordSummary.Builder compartmentId(String compartmentId)
The compartment OCID where the license record is created.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public LicenseRecordSummary.Builder displayName(String displayName)
License record display name.Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
productId
public LicenseRecordSummary.Builder productId(String productId)
The license record product ID.- Parameters:
productId
- the value to set- Returns:
- this builder
-
licenseCount
public LicenseRecordSummary.Builder licenseCount(Integer licenseCount)
The number of license record units added by the user for the given license record.Default 1
- Parameters:
licenseCount
- the value to set- Returns:
- this builder
-
expirationDate
public LicenseRecordSummary.Builder expirationDate(Date expirationDate)
The license record end date in RFC 3339 format.date format. Example: 2018-09-12
- Parameters:
expirationDate
- the value to set- Returns:
- this builder
-
supportEndDate
public LicenseRecordSummary.Builder supportEndDate(Date supportEndDate)
The license record support end date in RFC 3339 format.date format. Example: 2018-09-12
- Parameters:
supportEndDate
- the value to set- Returns:
- this builder
-
isUnlimited
public LicenseRecordSummary.Builder isUnlimited(Boolean isUnlimited)
Specifies if the license count is unlimited.- Parameters:
isUnlimited
- the value to set- Returns:
- this builder
-
isPerpetual
public LicenseRecordSummary.Builder isPerpetual(Boolean isPerpetual)
Specifies if the license record term is perpertual.- Parameters:
isPerpetual
- the value to set- Returns:
- this builder
-
timeCreated
public LicenseRecordSummary.Builder timeCreated(Date timeCreated)
The time the license record was created.An RFC 3339-formatted datetime string.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public LicenseRecordSummary.Builder timeUpdated(Date timeUpdated)
The time the license record was updated.An RFC 3339-formatted datetime string.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public LicenseRecordSummary.Builder lifecycleState(LifeCycleState lifecycleState)
The current license record state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
licenseUnit
public LicenseRecordSummary.Builder licenseUnit(LicenseUnit licenseUnit)
The product license unit.- Parameters:
licenseUnit
- the value to set- Returns:
- this builder
-
productLicense
public LicenseRecordSummary.Builder productLicense(String productLicense)
The product license name with which the license record is associated.- Parameters:
productLicense
- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public 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”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public LicenseRecordSummary build()
-
copy
public LicenseRecordSummary.Builder copy(LicenseRecordSummary model)
-
-