Class NodesCredentials
java.lang.Object
co.elastic.clients.elasticsearch.security.get_service_credentials.NodesCredentials
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class NodesCredentials extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNodesCredentials.BuilderBuilder forNodesCredentials. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<NodesCredentials>_DESERIALIZERJson deserializer forNodesCredentials -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,NodesCredentialsFileToken>fileTokens()Required - File-backed tokens collected from all nodesNodeStatisticsnodeStats()Required - General status showing how nodes respond to the above collection requeststatic NodesCredentialsof(java.util.function.Function<NodesCredentials.Builder,ObjectBuilder<NodesCredentials>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupNodesCredentialsDeserializer(ObjectDeserializer<NodesCredentials.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forNodesCredentials
-
-
Method Details
-
of
public static NodesCredentials of(java.util.function.Function<NodesCredentials.Builder,ObjectBuilder<NodesCredentials>> fn) -
nodeStats
Required - General status showing how nodes respond to the above collection requestAPI name:
_nodes -
fileTokens
Required - File-backed tokens collected from all nodesAPI name:
file_tokens -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupNodesCredentialsDeserializer
protected static void setupNodesCredentialsDeserializer(ObjectDeserializer<NodesCredentials.Builder> op)
-