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