Class LicenseInformation.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<LicenseInformation.Builder>
co.elastic.clients.elasticsearch.license.get.LicenseInformation.Builder
- All Implemented Interfaces:
WithJson<LicenseInformation.Builder>
,ObjectBuilder<LicenseInformation>
- Enclosing class:
- LicenseInformation
public static class LicenseInformation.Builder
extends WithJsonObjectBuilderBase<LicenseInformation.Builder>
implements ObjectBuilder<LicenseInformation>
Builder for
LicenseInformation
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aLicenseInformation
.expiryDate
(String value) Required - API name:expiry_date
expiryDateInMillis
(String value) Required - API name:expiry_date_in_millis
Required - API name:issue_date
issueDateInMillis
(String value) Required - API name:issue_date_in_millis
Required - API name:issued_to
Required - API name:issuer
maxNodes
(long value) Required - API name:max_nodes
maxResourceUnits
(Integer value) API name:max_resource_units
protected LicenseInformation.Builder
self()
startDateInMillis
(String value) Required - API name:start_date_in_millis
status
(LicenseStatus value) Required - API name:status
type
(LicenseType value) Required - API name:type
Required - API name:uid
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
expiryDate
Required - API name:expiry_date
-
expiryDateInMillis
Required - API name:expiry_date_in_millis
-
issueDate
Required - API name:issue_date
-
issueDateInMillis
Required - API name:issue_date_in_millis
-
issuedTo
Required - API name:issued_to
-
issuer
Required - API name:issuer
-
maxNodes
Required - API name:max_nodes
-
maxResourceUnits
API name:max_resource_units
-
status
Required - API name:status
-
type
Required - API name:type
-
uid
Required - API name:uid
-
startDateInMillis
Required - API name:start_date_in_millis
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<LicenseInformation.Builder>
-
build
Builds aLicenseInformation
.- Specified by:
build
in interfaceObjectBuilder<LicenseInformation>
- Throws:
NullPointerException
- if some of the required fields are null.
-