Class GetServiceCredentialsResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.GetServiceCredentialsResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class GetServiceCredentialsResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetServiceCredentialsResponse.BuilderBuilder forGetServiceCredentialsResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GetServiceCredentialsResponse>_DESERIALIZERJson deserializer forGetServiceCredentialsResponse -
Method Summary
Modifier and Type Method Description intcount()Required - API name:countNodesCredentialsnodesCredentials()Required - Contains service account credentials collected from all nodes of the clusterstatic GetServiceCredentialsResponseof(java.util.function.Function<GetServiceCredentialsResponse.Builder,ObjectBuilder<GetServiceCredentialsResponse>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)java.lang.StringserviceAccount()Required - API name:service_accountprotected static voidsetupGetServiceCredentialsResponseDeserializer(ObjectDeserializer<GetServiceCredentialsResponse.Builder> op)java.util.Map<java.lang.String,java.util.Map<java.lang.String,JsonData>>tokens()Required - API name:tokensMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forGetServiceCredentialsResponse
-
-
Method Details
-
of
public static GetServiceCredentialsResponse of(java.util.function.Function<GetServiceCredentialsResponse.Builder,ObjectBuilder<GetServiceCredentialsResponse>> fn) -
serviceAccount
public final java.lang.String serviceAccount()Required - API name:service_account -
count
public final int count()Required - API name:count -
tokens
Required - API name:tokens -
nodesCredentials
Required - Contains service account credentials collected from all nodes of the clusterAPI name:
nodes_credentials -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupGetServiceCredentialsResponseDeserializer
protected static void setupGetServiceCredentialsResponseDeserializer(ObjectDeserializer<GetServiceCredentialsResponse.Builder> op)
-