Class GetAutoFollowPatternRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<GetAutoFollowPatternRequest.Builder>
co.elastic.clients.elasticsearch.ccr.GetAutoFollowPatternRequest.Builder
- All Implemented Interfaces:
WithJson<GetAutoFollowPatternRequest.Builder>
,ObjectBuilder<GetAutoFollowPatternRequest>
- Enclosing class:
- GetAutoFollowPatternRequest
public static class GetAutoFollowPatternRequest.Builder
extends RequestBase.AbstractBuilder<GetAutoFollowPatternRequest.Builder>
implements ObjectBuilder<GetAutoFollowPatternRequest>
Builder for
GetAutoFollowPatternRequest
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aGetAutoFollowPatternRequest
.Specifies the auto-follow pattern collection that you want to retrieve.protected GetAutoFollowPatternRequest.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Specifies the auto-follow pattern collection that you want to retrieve. If you do not specify a name, the API returns information for all collections.API name:
name
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<GetAutoFollowPatternRequest.Builder>
-
build
Builds aGetAutoFollowPatternRequest
.- Specified by:
build
in interfaceObjectBuilder<GetAutoFollowPatternRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-