Class CreateAllowlistResponse.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.security.CreateAllowlistResponse.Builder
- All Implemented Interfaces:
CopyableBuilder<CreateAllowlistResponse.Builder,,CreateAllowlistResponse> MutableBuilder<CreateAllowlistResponse.Builder,,CreateAllowlistResponse> ObjectBuilder<CreateAllowlistResponse>
- Enclosing class:
CreateAllowlistResponse
public static class CreateAllowlistResponse.Builder
extends ObjectBuilderBase
implements CopyableBuilder<CreateAllowlistResponse.Builder,CreateAllowlistResponse>
Builder for
CreateAllowlistResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aCreateAllowlistResponse.copy()Create a new builderCopyableBuilderthat is a copy of this one.API name:enabledAn object with APIs as key and array of HTTP methods as values.An object with APIs as key and array of HTTP methods as values.Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<CreateAllowlistResponse.Builder,CreateAllowlistResponse> - Returns:
- a new builder instance.
-
enabled
API name:enabled -
requests
An object with APIs as key and array of HTTP methods as values.API name:
requestsAdds all elements of
maptorequests. -
requests
An object with APIs as key and array of HTTP methods as values.API name:
requestsAdds an entry to
requests. -
build
Builds aCreateAllowlistResponse.- Specified by:
buildin interfaceObjectBuilder<CreateAllowlistResponse>- Throws:
NullPointerException- if some of the required fields are null.
-