Module org.elasticsearch.xcore
Class BaseUpdateApiKeyRequest
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.AbstractTransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.action.UntypedActionRequest
org.elasticsearch.xpack.core.security.action.apikey.BaseUpdateApiKeyRequest
- All Implemented Interfaces:
Writeable,RefCounted,TaskAwareRequest,TransportRequest
- Direct Known Subclasses:
BaseBulkUpdateApiKeyRequest,BaseSingleUpdateApiKeyRequest
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CertificateIdentityprotected final TimeValueprotected final List<RoleDescriptor> Fields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED -
Constructor Summary
ConstructorsConstructorDescriptionBaseUpdateApiKeyRequest(List<RoleDescriptor> roleDescriptors, Map<String, Object> metadata, TimeValue expiration, CertificateIdentity certificateIdentity) -
Method Summary
Modifier and TypeMethodDescriptionabstract ApiKey.TypegetType()validate()final voidwriteTo(StreamOutput out) Methods inherited from class org.elasticsearch.action.ActionRequest
getShouldStoreResultMethods inherited from class org.elasticsearch.transport.AbstractTransportRequest
copyFieldsFrom, getParentTask, getRequestId, remoteAddress, remoteAddress, setParentTask, setRequestId, toStringMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, tryIncRefMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.core.RefCounted
decRef, hasReferences, incRef, mustIncRef, tryIncRefMethods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, createTask, getDescription, setParentTask
-
Field Details
-
roleDescriptors
-
metadata
-
expiration
-
certificateIdentity
-
-
Constructor Details
-
BaseUpdateApiKeyRequest
-
-
Method Details
-
getMetadata
-
getRoleDescriptors
-
getExpiration
-
getCertificateIdentity
-
getType
-
validate
- Specified by:
validatein classActionRequest
-
writeTo
- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classActionRequest- Throws:
IOException
-