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 forGetControllerResponse.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetControllerResponsebuild()Builds aGetControllerResponse.GetControllerResponse.Buildercopy()Create a new builderCopyableBuilderthat is a copy of this one.GetControllerResponse.BuildermodelId(java.lang.String value)API name:model_idGetControllerResponse.BuilderuserRateLimiter(java.lang.String key, java.util.function.Function<RateLimiter.Builder,ObjectBuilder<RateLimiter>> fn)API name:user_rate_limiterGetControllerResponse.BuilderuserRateLimiter(java.lang.String key, RateLimiter value)API name:user_rate_limiterGetControllerResponse.BuilderuserRateLimiter(java.util.Map<java.lang.String,RateLimiter> map)API name:user_rate_limiter-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAll
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
-
-
-
Method Detail
-
copy
@Nonnull public GetControllerResponse.Builder 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
@Nonnull public final GetControllerResponse.Builder modelId(@Nullable java.lang.String value)
API name:model_id
-
userRateLimiter
@Nonnull public final GetControllerResponse.Builder userRateLimiter(java.util.Map<java.lang.String,RateLimiter> map)
API name:user_rate_limiterAdds all elements of
maptouserRateLimiter.
-
userRateLimiter
@Nonnull public final GetControllerResponse.Builder userRateLimiter(java.lang.String key, RateLimiter value)
API name:user_rate_limiterAdds an entry to
userRateLimiter.
-
userRateLimiter
@Nonnull public final GetControllerResponse.Builder userRateLimiter(java.lang.String key, java.util.function.Function<RateLimiter.Builder,ObjectBuilder<RateLimiter>> fn)
API name:user_rate_limiterAdds a value to
userRateLimiterusing a builder lambda.
-
build
@Nonnull public GetControllerResponse build()
Builds aGetControllerResponse.- Specified by:
buildin interfaceObjectBuilder<GetControllerResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-