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