Class GetControllerResponse.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.ml.GetControllerResponse.Builder
- All Implemented Interfaces:
CopyableBuilder<GetControllerResponse.Builder,,GetControllerResponse> MutableBuilder<GetControllerResponse.Builder,,GetControllerResponse> ObjectBuilder<GetControllerResponse>
- Enclosing class:
GetControllerResponse
public static class GetControllerResponse.Builder
extends ObjectBuilderBase
implements CopyableBuilder<GetControllerResponse.Builder,GetControllerResponse>
Builder for
GetControllerResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGetControllerResponse.copy()Create a new builderCopyableBuilderthat is a copy of this one.API name:model_idAPI name:user_rate_limiteruserRateLimiter(String key, RateLimiter value) API name:user_rate_limiteruserRateLimiter(Map<String, RateLimiter> map) API name:user_rate_limiterMethods 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<GetControllerResponse.Builder,GetControllerResponse> - Returns:
- a new builder instance.
-
modelId
API name:model_id -
userRateLimiter
API name:user_rate_limiterAdds all elements of
maptouserRateLimiter. -
userRateLimiter
API name:user_rate_limiterAdds an entry to
userRateLimiter. -
userRateLimiter
@Nonnull public final GetControllerResponse.Builder userRateLimiter(String key, Function<RateLimiter.Builder, ObjectBuilder<RateLimiter>> fn) API name:user_rate_limiterAdds a value to
userRateLimiterusing a builder lambda. -
build
Builds aGetControllerResponse.- Specified by:
buildin interfaceObjectBuilder<GetControllerResponse>- Throws:
NullPointerException- if some of the required fields are null.
-