Class InvalidateApiKeyRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.InvalidateApiKeyRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class InvalidateApiKeyRequest extends RequestBase implements JsonpSerializable
Invalidates one or more API keys.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInvalidateApiKeyRequest.BuilderBuilder forInvalidateApiKeyRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<InvalidateApiKeyRequest>_DESERIALIZERJson deserializer forInvalidateApiKeyRequeststatic Endpoint<InvalidateApiKeyRequest,InvalidateApiKeyResponse,ErrorResponse>_ENDPOINTEndpoint "security.invalidate_api_key". -
Method Summary
Modifier and Type Method Description java.lang.Stringid()API name:idjava.util.List<java.lang.String>ids()API name:idsjava.lang.Stringname()API name:namestatic InvalidateApiKeyRequestof(java.util.function.Function<InvalidateApiKeyRequest.Builder,ObjectBuilder<InvalidateApiKeyRequest>> fn)java.lang.Booleanowner()API name:ownerjava.lang.StringrealmName()API name:realm_namevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupInvalidateApiKeyRequestDeserializer(ObjectDeserializer<InvalidateApiKeyRequest.Builder> op)java.lang.Stringusername()API name:usernameMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forInvalidateApiKeyRequest -
_ENDPOINT
public static final Endpoint<InvalidateApiKeyRequest,InvalidateApiKeyResponse,ErrorResponse> _ENDPOINTEndpoint "security.invalidate_api_key".
-
-
Method Details
-
of
public static InvalidateApiKeyRequest of(java.util.function.Function<InvalidateApiKeyRequest.Builder,ObjectBuilder<InvalidateApiKeyRequest>> fn) -
id
@Nullable public final java.lang.String id()API name:id -
ids
public final java.util.List<java.lang.String> ids()API name:ids -
name
@Nullable public final java.lang.String name()API name:name -
owner
@Nullable public final java.lang.Boolean owner()API name:owner -
realmName
@Nullable public final java.lang.String realmName()API name:realm_name -
username
@Nullable public final java.lang.String username()API name:username -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupInvalidateApiKeyRequestDeserializer
protected static void setupInvalidateApiKeyRequestDeserializer(ObjectDeserializer<InvalidateApiKeyRequest.Builder> op)
-