Class GetServiceCredentialsResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.GetServiceCredentialsResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class GetServiceCredentialsResponse extends java.lang.Object implements JsonpSerializable
-
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 -
Constructor Summary
Constructors Constructor Description GetServiceCredentialsResponse(GetServiceCredentialsResponse.Builder builder)GetServiceCredentialsResponse(java.util.function.Function<GetServiceCredentialsResponse.Builder,GetServiceCredentialsResponse.Builder> fn) -
Method Summary
Modifier and Type Method Description intcount()API name:countjava.util.Map<java.lang.String,EmptyObject>fileTokens()API name:file_tokensjava.lang.StringnodeName()API name:node_namevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)java.lang.StringserviceAccount()API name:service_accountprotected static voidsetupGetServiceCredentialsResponseDeserializer(DelegatingDeserializer<GetServiceCredentialsResponse.Builder> op)java.util.Map<java.lang.String,EmptyObject>tokens()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
-
-
Constructor Details
-
GetServiceCredentialsResponse
-
GetServiceCredentialsResponse
public GetServiceCredentialsResponse(java.util.function.Function<GetServiceCredentialsResponse.Builder,GetServiceCredentialsResponse.Builder> fn)
-
-
Method Details
-
serviceAccount
public java.lang.String serviceAccount()API name:service_account -
nodeName
public java.lang.String nodeName()API name:node_name -
count
public int count()API name:count -
tokens
API name:tokens -
fileTokens
API name:file_tokens -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupGetServiceCredentialsResponseDeserializer
protected static void setupGetServiceCredentialsResponseDeserializer(DelegatingDeserializer<GetServiceCredentialsResponse.Builder> op)
-