Class UserTenants.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.security.UserTenants.Builder
- All Implemented Interfaces:
CopyableBuilder<UserTenants.Builder,,UserTenants> MutableBuilder<UserTenants.Builder,,UserTenants> ObjectBuilder<UserTenants>
- Enclosing class:
UserTenants
public static class UserTenants.Builder
extends ObjectBuilderBase
implements CopyableBuilder<UserTenants.Builder,UserTenants>
Builder for
UserTenants.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal UserTenants.BuilderAPI name:adminfinal UserTenants.BuilderadminTenant(Boolean value) API name:admin_tenantbuild()Builds aUserTenants.copy()Create a new builderCopyableBuilderthat is a copy of this one.final UserTenants.BuilderglobalTenant(Boolean value) API name:global_tenantMethods 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<UserTenants.Builder,UserTenants> - Returns:
- a new builder instance.
-
admin
API name:admin -
adminTenant
API name:admin_tenant -
globalTenant
API name:global_tenant -
build
Builds aUserTenants.- Specified by:
buildin interfaceObjectBuilder<UserTenants>- Throws:
NullPointerException- if some of the required fields are null.
-