Class UpdateLicenseRecordDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.licensemanager.model.UpdateLicenseRecordDetails.Builder
-
- Enclosing class:
- UpdateLicenseRecordDetails
public static class UpdateLicenseRecordDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateLicenseRecordDetails
build()
UpdateLicenseRecordDetails.Builder
copy(UpdateLicenseRecordDetails model)
UpdateLicenseRecordDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdateLicenseRecordDetails.Builder
displayName(String displayName)
License record name.UpdateLicenseRecordDetails.Builder
expirationDate(Date expirationDate)
The license record end date in RFC 3339 date format.UpdateLicenseRecordDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.UpdateLicenseRecordDetails.Builder
isPerpetual(Boolean isPerpetual)
Specifies if the license record term is perpertual.UpdateLicenseRecordDetails.Builder
isUnlimited(Boolean isUnlimited)
Specifies if the license count is unlimited.UpdateLicenseRecordDetails.Builder
licenseCount(Integer licenseCount)
The number of license units added by a user in a license record.UpdateLicenseRecordDetails.Builder
productId(String productId)
The license record product ID.UpdateLicenseRecordDetails.Builder
supportEndDate(Date supportEndDate)
The license record support end date in RFC 3339 date format.
-
-
-
Method Detail
-
displayName
public UpdateLicenseRecordDetails.Builder displayName(String displayName)
License record name.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
isPerpetual
public UpdateLicenseRecordDetails.Builder isPerpetual(Boolean isPerpetual)
Specifies if the license record term is perpertual.- Parameters:
isPerpetual
- the value to set- Returns:
- this builder
-
expirationDate
public UpdateLicenseRecordDetails.Builder expirationDate(Date expirationDate)
The license record end date in RFC 3339 date format.Example: 2018-09-12
- Parameters:
expirationDate
- the value to set- Returns:
- this builder
-
supportEndDate
public UpdateLicenseRecordDetails.Builder supportEndDate(Date supportEndDate)
The license record support end date in RFC 3339 date format.Example: 2018-09-12
- Parameters:
supportEndDate
- the value to set- Returns:
- this builder
-
isUnlimited
public UpdateLicenseRecordDetails.Builder isUnlimited(Boolean isUnlimited)
Specifies if the license count is unlimited.- Parameters:
isUnlimited
- the value to set- Returns:
- this builder
-
licenseCount
public UpdateLicenseRecordDetails.Builder licenseCount(Integer licenseCount)
The number of license units added by a user in a license record.Default 1
- Parameters:
licenseCount
- the value to set- Returns:
- this builder
-
productId
public UpdateLicenseRecordDetails.Builder productId(String productId)
The license record product ID.- Parameters:
productId
- the value to set- Returns:
- this builder
-
freeformTags
public UpdateLicenseRecordDetails.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 UpdateLicenseRecordDetails.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
-
build
public UpdateLicenseRecordDetails build()
-
copy
public UpdateLicenseRecordDetails.Builder copy(UpdateLicenseRecordDetails model)
-
-