Class NodesCredentialsFileToken.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<NodesCredentialsFileToken.Builder>
co.elastic.clients.elasticsearch.security.get_service_credentials.NodesCredentialsFileToken.Builder
- All Implemented Interfaces:
WithJson<NodesCredentialsFileToken.Builder>,ObjectBuilder<NodesCredentialsFileToken>
- Enclosing class:
- NodesCredentialsFileToken
public static class NodesCredentialsFileToken.Builder extends WithJsonObjectBuilderBase<NodesCredentialsFileToken.Builder> implements ObjectBuilder<NodesCredentialsFileToken>
Builder for
NodesCredentialsFileToken.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description NodesCredentialsFileTokenbuild()Builds aNodesCredentialsFileToken.NodesCredentialsFileToken.Buildernodes(java.lang.String value, java.lang.String... values)Required - API name:nodesNodesCredentialsFileToken.Buildernodes(java.util.List<java.lang.String> list)Required - API name:nodesprotected NodesCredentialsFileToken.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
nodes
Required - API name:nodesAdds all elements of
listtonodes. -
nodes
public final NodesCredentialsFileToken.Builder nodes(java.lang.String value, java.lang.String... values)Required - API name:nodesAdds one or more values to
nodes. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<NodesCredentialsFileToken.Builder>
-
build
Builds aNodesCredentialsFileToken.- Specified by:
buildin interfaceObjectBuilder<NodesCredentialsFileToken>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-