public static class UpdateLicenseRequest.UpdateLicenseRequestBuilder extends Object
Modifier and Type | Method and Description |
---|---|
UpdateLicenseRequest.UpdateLicenseRequestBuilder |
allowOverages(Boolean allowOverages)
This field sets if overages on consumptions are allowed or not.
|
UpdateLicenseRequest.UpdateLicenseRequestBuilder |
allowUnlimitedActivations(Boolean allowUnlimitedActivations)
Boolean indicating whether to allow unlimited activations.
|
UpdateLicenseRequest |
build() |
UpdateLicenseRequest.UpdateLicenseRequestBuilder |
consumptionPeriod(String consumptionPeriod)
Period of consumptions before they are reset back to zero.
|
UpdateLicenseRequest.UpdateLicenseRequestBuilder |
enabled(Boolean enabled)
Indicates if license is currently enabled.
|
UpdateLicenseRequest.UpdateLicenseRequestBuilder |
enableMaintenancePeriod(Boolean enableMaintenancePeriod)
Indicates if there is a maintenance period.
|
UpdateLicenseRequest.UpdateLicenseRequestBuilder |
floatingTimeout(Integer floatingTimeout)
Used only with floating cloud/on-premises setup.
|
UpdateLicenseRequest.UpdateLicenseRequestBuilder |
floatingUsers(Integer floatingUsers)
If license is floating, this field will contain information about how many floating users can
use the license at the same time.
|
UpdateLicenseRequest.UpdateLicenseRequestBuilder |
isFloating(Boolean isFloating)
Indicates if license is floating, if there are multiple users using this license.
|
UpdateLicenseRequest.UpdateLicenseRequestBuilder |
isFloatingCloud(Boolean isFloatingCloud)
Indicates if license is a part of floating cloud and is released after a floating timeout.
|
UpdateLicenseRequest.UpdateLicenseRequestBuilder |
isTrial(Boolean isTrial)
Indicates if this license is made for trial period.
|
UpdateLicenseRequest.UpdateLicenseRequestBuilder |
maintenanceDuration(String maintenanceDuration)
How long the maintenance period lasts.
|
UpdateLicenseRequest.UpdateLicenseRequestBuilder |
maxActivations(Integer maxActivations)
Number of times a license can be activated on different devices.
|
UpdateLicenseRequest.UpdateLicenseRequestBuilder |
maxConsumptions(Integer maxConsumptions)
Number of consumptions that can be consumed at most.
|
UpdateLicenseRequest.UpdateLicenseRequestBuilder |
maxLicenseFeatures(Integer maxLicenseFeatures)
Maximum number of users that can use this feature.
|
UpdateLicenseRequest.UpdateLicenseRequestBuilder |
maxOverages(Integer maxOverages)
Number of overages there can be.
|
UpdateLicenseRequest.UpdateLicenseRequestBuilder |
maxTransfers(Integer maxTransfers) |
UpdateLicenseRequest.UpdateLicenseRequestBuilder |
metadata(com.google.gson.JsonElement metadata)
license metadata.
|
UpdateLicenseRequest.UpdateLicenseRequestBuilder |
note(String note)
Note that can be added in the LicenseSpring platform.
|
UpdateLicenseRequest.UpdateLicenseRequestBuilder |
preventVm(Boolean preventVm)
If true, license can't be activated on virtual machines.
|
UpdateLicenseRequest.UpdateLicenseRequestBuilder |
resetConsumption(Boolean resetConsumption)
Indicates if there is a consumption period where consumptions are reset.
|
String |
toString() |
UpdateLicenseRequest.UpdateLicenseRequestBuilder |
totalConsumptions(Integer totalConsumptions)
Set the total consumptions to a desired number.
|
UpdateLicenseRequest.UpdateLicenseRequestBuilder |
trialDays(Integer trialDays)
Number of days a trial lasts for.
|
UpdateLicenseRequest.UpdateLicenseRequestBuilder |
validDuration(String validDuration)
How long can a license be valid for.
|
UpdateLicenseRequest.UpdateLicenseRequestBuilder |
validityPeriod(String validityPeriod)
Date when license will expire.
|
public UpdateLicenseRequest build() throws com.licensespring.model.exceptions.validation.ConfigurationException
com.licensespring.model.exceptions.validation.ConfigurationException
public UpdateLicenseRequest.UpdateLicenseRequestBuilder maxActivations(Integer maxActivations)
this
.public UpdateLicenseRequest.UpdateLicenseRequestBuilder maxConsumptions(Integer maxConsumptions)
this
.public UpdateLicenseRequest.UpdateLicenseRequestBuilder allowOverages(Boolean allowOverages)
this
.public UpdateLicenseRequest.UpdateLicenseRequestBuilder maxOverages(Integer maxOverages)
this
.public UpdateLicenseRequest.UpdateLicenseRequestBuilder resetConsumption(Boolean resetConsumption)
this
.public UpdateLicenseRequest.UpdateLicenseRequestBuilder consumptionPeriod(String consumptionPeriod)
this
.public UpdateLicenseRequest.UpdateLicenseRequestBuilder isTrial(Boolean isTrial)
this
.public UpdateLicenseRequest.UpdateLicenseRequestBuilder trialDays(Integer trialDays)
this
.public UpdateLicenseRequest.UpdateLicenseRequestBuilder enableMaintenancePeriod(Boolean enableMaintenancePeriod)
this
.public UpdateLicenseRequest.UpdateLicenseRequestBuilder maintenanceDuration(String maintenanceDuration)
this
.public UpdateLicenseRequest.UpdateLicenseRequestBuilder isFloating(Boolean isFloating)
this
.public UpdateLicenseRequest.UpdateLicenseRequestBuilder isFloatingCloud(Boolean isFloatingCloud)
this
.public UpdateLicenseRequest.UpdateLicenseRequestBuilder floatingUsers(Integer floatingUsers)
this
.public UpdateLicenseRequest.UpdateLicenseRequestBuilder validDuration(String validDuration)
this
.public UpdateLicenseRequest.UpdateLicenseRequestBuilder validityPeriod(String validityPeriod)
this
.public UpdateLicenseRequest.UpdateLicenseRequestBuilder preventVm(Boolean preventVm)
this
.public UpdateLicenseRequest.UpdateLicenseRequestBuilder note(String note)
this
.public UpdateLicenseRequest.UpdateLicenseRequestBuilder maxLicenseFeatures(Integer maxLicenseFeatures)
this
.public UpdateLicenseRequest.UpdateLicenseRequestBuilder floatingTimeout(Integer floatingTimeout)
this
.public UpdateLicenseRequest.UpdateLicenseRequestBuilder maxTransfers(Integer maxTransfers)
public UpdateLicenseRequest.UpdateLicenseRequestBuilder allowUnlimitedActivations(Boolean allowUnlimitedActivations)
this
.public UpdateLicenseRequest.UpdateLicenseRequestBuilder metadata(com.google.gson.JsonElement metadata)
this
.public UpdateLicenseRequest.UpdateLicenseRequestBuilder enabled(Boolean enabled)
this
.public UpdateLicenseRequest.UpdateLicenseRequestBuilder totalConsumptions(Integer totalConsumptions)
this
.Copyright © 2024 Cense Data Inc.. All rights reserved.