Class MigrateResponse.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.security.MigrateResponse.Builder
- All Implemented Interfaces:
CopyableBuilder<MigrateResponse.Builder,,MigrateResponse> MutableBuilder<MigrateResponse.Builder,,MigrateResponse> ObjectBuilder<MigrateResponse>
- Enclosing class:
MigrateResponse
public static class MigrateResponse.Builder
extends ObjectBuilderBase
implements CopyableBuilder<MigrateResponse.Builder,MigrateResponse>
Builder for
MigrateResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aMigrateResponse.copy()Create a new builderCopyableBuilderthat is a copy of this one.final MigrateResponse.BuilderThe message returned as part of anOKresponse.final MigrateResponse.BuilderAPI name:statusMethods 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<MigrateResponse.Builder,MigrateResponse> - Returns:
- a new builder instance.
-
message
The message returned as part of anOKresponse.API name:
message -
status
API name:status -
build
Builds aMigrateResponse.- Specified by:
buildin interfaceObjectBuilder<MigrateResponse>- Throws:
NullPointerException- if some of the required fields are null.
-