Class CreateTenantRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<CreateTenantRequest.Builder>
org.opensearch.client.opensearch.security.CreateTenantRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<CreateTenantRequest.Builder,,CreateTenantRequest> MutableBuilder<CreateTenantRequest.Builder,,CreateTenantRequest> ObjectBuilder<CreateTenantRequest>
- Enclosing class:
CreateTenantRequest
public static class CreateTenantRequest.Builder
extends RequestBase.AbstractBuilder<CreateTenantRequest.Builder>
implements CopyableBuilder<CreateTenantRequest.Builder,CreateTenantRequest>
Builder for
CreateTenantRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aCreateTenantRequest.copy()Create a new builderCopyableBuilderthat is a copy of this one.description(String value) API name:descriptionprotected CreateTenantRequest.Builderself()Required - The name of the tenant to create.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder
errorTrace, humanMethods 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<CreateTenantRequest.Builder,CreateTenantRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<CreateTenantRequest.Builder>
-
description
API name:description -
tenant
Required - The name of the tenant to create.API name:
tenant -
build
Builds aCreateTenantRequest.- Specified by:
buildin interfaceObjectBuilder<CreateTenantRequest>- Throws:
NullPointerException- if some of the required fields are null.
-