public static class LicenseData.LicenseDataBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
LicenseData.LicenseDataBuilder |
active(Boolean active)
Is License active (from activation response).
|
LicenseData.LicenseDataBuilder |
allowGracePeriod(Boolean allowGracePeriod)
Is grace period allowed.
|
LicenseData.LicenseDataBuilder |
allowNegativeConsumptions(Boolean allowNegativeConsumptions)
Are negative consumptions allowed
|
LicenseData.LicenseDataBuilder |
allowOverages(boolean allowOverages)
Are overages allowed.
|
LicenseData.LicenseDataBuilder |
allowUnlimitedActivations(Boolean allowUnlimitedActivations)
Are unlimited activations allowed.
|
LicenseData.LicenseDataBuilder |
allowUnlimitedConsumptions(Boolean allowUnlimitedConsumptions)
Are unlimited consumptions allowed.
|
LicenseData.LicenseDataBuilder |
borrowedUntil(ZonedDateTime borrowedUntil)
Indicates time until license is borrowed.
|
LicenseData |
build() |
LicenseData.LicenseDataBuilder |
canBorrow(Boolean canBorrow)
Indicates whether a license can be borrowed.
|
LicenseData.LicenseDataBuilder |
channel(String channel)
Distribution channel.
|
LicenseData.LicenseDataBuilder |
company(Company company)
Company associated with this license
|
LicenseData.LicenseDataBuilder |
consumptionPeriod(ConsumptionPeriod consumptionPeriod)
Period when the consumption uses (and overages if enabled) are reset
ConsumptionPeriod |
LicenseData.LicenseDataBuilder |
customer(Customer customer)
Customer who purchased this particular license
|
LicenseData.LicenseDataBuilder |
customFields(List<CustomField> customFields)
List of custom fields that can be set in LicenseSpring platform.
|
LicenseData.LicenseDataBuilder |
date(String date)
Date
|
LicenseData.LicenseDataBuilder |
deviceId(Long deviceId)
Device ID represents the unique identifier of the device associated with the license.
|
LicenseData.LicenseDataBuilder |
enableMaintenancePeriod(Boolean enableMaintenancePeriod)
Is maintenance period enabled.
|
LicenseData.LicenseDataBuilder |
environment(String environment)
Target environment.
|
LicenseData.LicenseDataBuilder |
eulaLink(String eulaLink)
Link to the End User License Agreement.
|
LicenseData.LicenseDataBuilder |
expired(Boolean expired)
Whether the license has expired (as reported by the server).
|
LicenseData.LicenseDataBuilder |
floatingInUse(Boolean floatingInUse)
Indicates if the floating license is currently in use.
|
LicenseData.LicenseDataBuilder |
floatingInUseDevices(Integer floatingInUseDevices)
Number of devices currently using the floating license.
|
LicenseData.LicenseDataBuilder |
floatingTimeout(int floatingTimeout)
Floating timeout in minutes.
|
LicenseData.LicenseDataBuilder |
floatingUsers(int floatingUsers)
Maximum number of concurrent floating users for this license.
|
LicenseData.LicenseDataBuilder |
floatingVp(String floatingVp)
Floating validity period (time until floating registration expires).
|
LicenseData.LicenseDataBuilder |
gracePeriod(int gracePeriod)
Grace period
|
LicenseData.LicenseDataBuilder |
hardwareId(String hardwareId)
Hardware ID.
|
LicenseData.LicenseDataBuilder |
hashMd5(String hashMd5)
MD5 hash of the installation file.
|
LicenseData.LicenseDataBuilder |
id(Long id)
License ID represents the unique identifier of the license.
|
LicenseData.LicenseDataBuilder |
installationFile(String installationFile)
Installation file URL or path.
|
LicenseData.LicenseDataBuilder |
isAirGapped(boolean isAirGapped)
Used only with Air Gapped Licensing.
|
LicenseData.LicenseDataBuilder |
isBorrowed(Boolean isBorrowed)
Indicates whether a license is borrowed.
|
LicenseData.LicenseDataBuilder |
isDirty(Boolean isDirty)
Whether the license data has been modified locally and not yet synced.
|
LicenseData.LicenseDataBuilder |
isFloating(Boolean isFloating)
Indicates if the license uses on-premises floating licensing.
|
LicenseData.LicenseDataBuilder |
isFloatingCloud(boolean isFloatingCloud)
Indicates if the license uses floating cloud licensing.
|
LicenseData.LicenseDataBuilder |
isHardwareKeyAuth(Boolean isHardwareKeyAuth)
Is hardware key auth
|
LicenseData.LicenseDataBuilder |
isLicensed(Boolean isLicensed)
Whether the license is licensed (has a valid license assignment).
|
LicenseData.LicenseDataBuilder |
isTrial(boolean isTrial)
Trial licenses have limitations that can be set.
|
LicenseData.LicenseDataBuilder |
isValid(Boolean isValid)
Whether the license is currently valid.
|
LicenseData.LicenseDataBuilder |
lastCheck(String lastCheck)
Last time the license was checked.
|
LicenseData.LicenseDataBuilder |
lastUsageDate(String lastUsageDate)
Last usage date.
|
LicenseData.LicenseDataBuilder |
licenseActive(Boolean licenseActive)
Whether the license is currently active.
|
LicenseData.LicenseDataBuilder |
licenseEnabled(Boolean licenseEnabled)
Whether the license is enabled.
|
LicenseData.LicenseDataBuilder |
licenseKey(String licenseKey)
License key.
|
LicenseData.LicenseDataBuilder |
licenseSignature(String licenseSignature)
Signature that is used to sign this license by the LS servers.
|
LicenseData.LicenseDataBuilder |
licenseSignatureV2(String licenseSignatureV2)
V2 license signature (from response header).
|
LicenseData.LicenseDataBuilder |
licenseType(LicenseType licenseType)
Possible license types: PERPETUAL, SUBSCRIPTION, TIME-LIMITED, CONSUMPTION, UNKNOWN
|
LicenseData.LicenseDataBuilder |
maintenancePeriod(ZonedDateTime maintenancePeriod)
Maintenance period of license.
|
LicenseData.LicenseDataBuilder |
maxActivations(int maxActivations)
The maximum number of active devices that can share this license.
|
LicenseData.LicenseDataBuilder |
maxBorrowTime(int maxBorrowTime)
Maximum period a license can be borrowed measured in hours.
|
LicenseData.LicenseDataBuilder |
maxConsumptions(Integer maxConsumptions)
Maximal consumptions of this license.
|
LicenseData.LicenseDataBuilder |
maxLicenseUsers(Integer maxLicenseUsers)
Maximum number of license users.
|
LicenseData.LicenseDataBuilder |
maxOverages(int maxOverages)
Maximal overages of this license (uses after consumptions have been used up).
|
LicenseData.LicenseDataBuilder |
maxTransfers(int maxTransfers)
Max transfers.
|
LicenseData.LicenseDataBuilder |
metadata(com.google.gson.JsonElement metadata)
JSON metadata of the license.
|
LicenseData.LicenseDataBuilder |
offlineSignature(String offlineSignature)
Offline signature.
|
LicenseData.LicenseDataBuilder |
orderStoreId(String orderStoreId)
Order store identifier.
|
LicenseData.LicenseDataBuilder |
policyId(Long policyId)
Policy ID associated with this license (used for air-gapped licenses).
|
LicenseData.LicenseDataBuilder |
preventVm(boolean preventVm)
License settings if the license if permitted to run on VMs
|
LicenseData.LicenseDataBuilder |
product(String product)
Product short code.
|
LicenseData.LicenseDataBuilder |
productDetails(Product productDetails)
The parent product assigned to this license.
|
LicenseData.LicenseDataBuilder |
productFeatures(List<LicenseFeature> productFeatures)
Each license can have its own list of features included.
|
LicenseData.LicenseDataBuilder |
releaseDate(String releaseDate)
Release date of the product version.
|
LicenseData.LicenseDataBuilder |
releaseNotesLink(String releaseNotesLink)
Link to the release notes.
|
LicenseData.LicenseDataBuilder |
request(String request)
"activation" or "deactivation"
|
LicenseData.LicenseDataBuilder |
requestId(String requestId)
Request ID
|
LicenseData.LicenseDataBuilder |
requiresVersion(String requiresVersion)
Minimum required version.
|
LicenseData.LicenseDataBuilder |
resetConsumption(Boolean resetConsumption)
Settings for licences with
LicenseType.CONSUMPTION type. |
LicenseData.LicenseDataBuilder |
signature(String signature)
Digital signature of the license.
|
LicenseData.LicenseDataBuilder |
size(String size)
Size of the installation file.
|
LicenseData.LicenseDataBuilder |
startDate(ZonedDateTime startDate)
Start date of the license.
|
LicenseData.LicenseDataBuilder |
timesActivated(int timesActivated)
Number of times this license is activated.
|
String |
toString() |
LicenseData.LicenseDataBuilder |
totalConsumptions(Integer totalConsumptions)
Total consumptions of this license as seen by the LS servers.
|
LicenseData.LicenseDataBuilder |
transferCount(int transferCount)
Counts the number of license transfers between different devices.
|
LicenseData.LicenseDataBuilder |
trialDays(Integer trialDays)
Number of trial days.
|
LicenseData.LicenseDataBuilder |
user(LicenseUser user)
The
LicenseUser object present in user based licenses |
LicenseData.LicenseDataBuilder |
validityPeriod(ZonedDateTime validityPeriod)
After validity period passes license will become invalid.
|
LicenseData.LicenseDataBuilder |
variables(List<DeviceVariable> variables)
Device variables.
|
LicenseData.LicenseDataBuilder |
version(String version)
Product version.
|
public LicenseData.LicenseDataBuilder id(Long id)
this.public LicenseData.LicenseDataBuilder active(Boolean active)
this.public LicenseData.LicenseDataBuilder allowGracePeriod(Boolean allowGracePeriod)
this.public LicenseData.LicenseDataBuilder allowOverages(boolean allowOverages)
this.public LicenseData.LicenseDataBuilder allowUnlimitedActivations(Boolean allowUnlimitedActivations)
this.public LicenseData.LicenseDataBuilder canBorrow(Boolean canBorrow)
this.public LicenseData.LicenseDataBuilder isBorrowed(Boolean isBorrowed)
this.public LicenseData.LicenseDataBuilder borrowedUntil(ZonedDateTime borrowedUntil)
this.public LicenseData.LicenseDataBuilder customFields(List<CustomField> customFields)
this.public LicenseData.LicenseDataBuilder customer(Customer customer)
this.public LicenseData.LicenseDataBuilder company(Company company)
this.public LicenseData.LicenseDataBuilder deviceId(Long deviceId)
this.public LicenseData.LicenseDataBuilder enableMaintenancePeriod(Boolean enableMaintenancePeriod)
this.public LicenseData.LicenseDataBuilder floatingTimeout(int floatingTimeout)
this.public LicenseData.LicenseDataBuilder gracePeriod(int gracePeriod)
this.public LicenseData.LicenseDataBuilder isAirGapped(boolean isAirGapped)
this.public LicenseData.LicenseDataBuilder isFloatingCloud(boolean isFloatingCloud)
this.public LicenseData.LicenseDataBuilder isFloating(Boolean isFloating)
this.public LicenseData.LicenseDataBuilder isHardwareKeyAuth(Boolean isHardwareKeyAuth)
this.public LicenseData.LicenseDataBuilder isTrial(boolean isTrial)
this.public LicenseData.LicenseDataBuilder licenseKey(String licenseKey)
this.public LicenseData.LicenseDataBuilder licenseType(LicenseType licenseType)
this.public LicenseData.LicenseDataBuilder maintenancePeriod(ZonedDateTime maintenancePeriod)
this.public LicenseData.LicenseDataBuilder maxActivations(int maxActivations)
this.public LicenseData.LicenseDataBuilder maxBorrowTime(int maxBorrowTime)
this.public LicenseData.LicenseDataBuilder maxOverages(int maxOverages)
LicenseData.licenseType is not LicenseType.CONSUMPTIONthis.public LicenseData.LicenseDataBuilder maxTransfers(int maxTransfers)
this.public LicenseData.LicenseDataBuilder metadata(com.google.gson.JsonElement metadata)
this.public LicenseData.LicenseDataBuilder preventVm(boolean preventVm)
this.public LicenseData.LicenseDataBuilder productDetails(Product productDetails)
this.public LicenseData.LicenseDataBuilder productFeatures(List<LicenseFeature> productFeatures)
this.public LicenseData.LicenseDataBuilder timesActivated(int timesActivated)
this.public LicenseData.LicenseDataBuilder transferCount(int transferCount)
this.public LicenseData.LicenseDataBuilder validityPeriod(ZonedDateTime validityPeriod)
LicenseType.TIME_LIMITED type of license.this.public LicenseData.LicenseDataBuilder variables(List<DeviceVariable> variables)
this.public LicenseData.LicenseDataBuilder maxConsumptions(Integer maxConsumptions)
LicenseData.licenseType is not LicenseType.CONSUMPTIONthis.public LicenseData.LicenseDataBuilder allowUnlimitedConsumptions(Boolean allowUnlimitedConsumptions)
this.public LicenseData.LicenseDataBuilder totalConsumptions(Integer totalConsumptions)
LicenseData.licenseType is
not LicenseType.CONSUMPTIONthis.public LicenseData.LicenseDataBuilder resetConsumption(Boolean resetConsumption)
LicenseType.CONSUMPTION type. Indicates if consumptions
reset after a defined period. if true, will also have the LicenseData.consumptionPeriod
fieldthis.public LicenseData.LicenseDataBuilder consumptionPeriod(ConsumptionPeriod consumptionPeriod)
ConsumptionPeriodthis.public LicenseData.LicenseDataBuilder allowNegativeConsumptions(Boolean allowNegativeConsumptions)
this.public LicenseData.LicenseDataBuilder licenseSignature(String licenseSignature)
this.public LicenseData.LicenseDataBuilder requestId(String requestId)
this.public LicenseData.LicenseDataBuilder request(String request)
this.public LicenseData.LicenseDataBuilder hardwareId(String hardwareId)
this.public LicenseData.LicenseDataBuilder date(String date)
this.public LicenseData.LicenseDataBuilder offlineSignature(String offlineSignature)
this.public LicenseData.LicenseDataBuilder floatingUsers(int floatingUsers)
this.public LicenseData.LicenseDataBuilder floatingInUseDevices(Integer floatingInUseDevices)
this.public LicenseData.LicenseDataBuilder floatingInUse(Boolean floatingInUse)
this.public LicenseData.LicenseDataBuilder user(LicenseUser user)
LicenseUser object present in user based licensesthis.public LicenseData.LicenseDataBuilder isDirty(Boolean isDirty)
this.public LicenseData.LicenseDataBuilder isLicensed(Boolean isLicensed)
this.public LicenseData.LicenseDataBuilder isValid(Boolean isValid)
this.public LicenseData.LicenseDataBuilder expired(Boolean expired)
this.public LicenseData.LicenseDataBuilder licenseActive(Boolean licenseActive)
this.public LicenseData.LicenseDataBuilder licenseEnabled(Boolean licenseEnabled)
this.public LicenseData.LicenseDataBuilder lastCheck(String lastCheck)
this.public LicenseData.LicenseDataBuilder maxLicenseUsers(Integer maxLicenseUsers)
this.public LicenseData.LicenseDataBuilder orderStoreId(String orderStoreId)
this.public LicenseData.LicenseDataBuilder policyId(Long policyId)
this.public LicenseData.LicenseDataBuilder licenseSignatureV2(String licenseSignatureV2)
this.public LicenseData.LicenseDataBuilder product(String product)
this.public LicenseData.LicenseDataBuilder signature(String signature)
this.public LicenseData.LicenseDataBuilder startDate(ZonedDateTime startDate)
this.public LicenseData.LicenseDataBuilder trialDays(Integer trialDays)
this.public LicenseData.LicenseDataBuilder channel(String channel)
this.public LicenseData.LicenseDataBuilder environment(String environment)
this.public LicenseData.LicenseDataBuilder eulaLink(String eulaLink)
this.public LicenseData.LicenseDataBuilder hashMd5(String hashMd5)
this.public LicenseData.LicenseDataBuilder installationFile(String installationFile)
this.public LicenseData.LicenseDataBuilder releaseDate(String releaseDate)
this.public LicenseData.LicenseDataBuilder releaseNotesLink(String releaseNotesLink)
this.public LicenseData.LicenseDataBuilder requiresVersion(String requiresVersion)
this.public LicenseData.LicenseDataBuilder size(String size)
this.public LicenseData.LicenseDataBuilder version(String version)
this.public LicenseData.LicenseDataBuilder floatingVp(String floatingVp)
this.public LicenseData.LicenseDataBuilder lastUsageDate(String lastUsageDate)
this.public LicenseData build()
Copyright © 2026 Cense Data Inc.. All rights reserved.