Class CreateActionGroupRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.security.CreateActionGroupRequest
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<CreateActionGroupRequest.Builder,CreateActionGroupRequest>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class CreateActionGroupRequest
extends RequestBase
implements PlainJsonSerializable, ToCopyableBuilder<CreateActionGroupRequest.Builder,CreateActionGroupRequest>
Creates or replaces the specified action group.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CreateActionGroupRequest> Json deserializer forCreateActionGroupRequestEndpoint "security.create_action_group". -
Method Summary
Modifier and TypeMethodDescriptionfinal StringRequired - The name of the action group to create or replace.API name:allowed_actionsbuilder()final StringAPI name:descriptionbooleaninthashCode()final Booleanhidden()API name:hiddenstatic CreateActionGroupRequestfinal Booleanreserved()API name:reservedvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Booleanstatic_()API name:staticCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringtype()API name:typeMethods inherited from class org.opensearch.client.opensearch._types.RequestBase
applyQueryParameters, errorTrace, humanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forCreateActionGroupRequest -
_ENDPOINT
public static final Endpoint<CreateActionGroupRequest,CreateActionGroupResponse, _ENDPOINTErrorResponse> Endpoint "security.create_action_group".
-
-
Method Details
-
of
public static CreateActionGroupRequest of(Function<CreateActionGroupRequest.Builder, ObjectBuilder<CreateActionGroupRequest>> fn) -
actionGroup
Required - The name of the action group to create or replace.API name:
action_group -
allowedActions
API name:allowed_actions -
description
API name:description -
reserved
API name:reserved -
static_
API name:static -
type
API name:type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateActionGroupRequest.Builder,CreateActionGroupRequest> - Returns:
- a new builder instance.
-
builder
-
setupCreateActionGroupRequestDeserializer
protected static void setupCreateActionGroupRequestDeserializer(ObjectDeserializer<CreateActionGroupRequest.Builder> op) -
hashCode
public int hashCode() -
equals
-