java.lang.Object
org.elasticsearch.license.License.Builder
- Enclosing class:
License
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()expiryDate(long expiryDate) fromLicenseSpec(License license, String licenseSignature) fromPre20LicenseSpec(License pre20License) Returns a builder that converts pre 2.0 licenses to the new license formatissueDate(long issueDate) maxNodes(int maxNodes) maxResourceUnits(int maxUnits) startDate(long startDate) subscriptionType(String subscriptionType) type(License.LicenseType type) validate()version(int version)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
uid
-
version
-
issuer
-
issuedTo
-
issueDate
-
type
-
type
-
subscriptionType
-
feature
-
expiryDate
-
maxNodes
-
maxResourceUnits
-
signature
-
startDate
-
fromLicenseSpec
-
fromPre20LicenseSpec
Returns a builder that converts pre 2.0 licenses to the new license format -
build
-
validate
-