Class SearchApplicationListItem.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<SearchApplicationListItem.Builder>
co.elastic.clients.elasticsearch.search_application.list.SearchApplicationListItem.Builder
- All Implemented Interfaces:
WithJson<SearchApplicationListItem.Builder>,ObjectBuilder<SearchApplicationListItem>
- Enclosing class:
- SearchApplicationListItem
public static class SearchApplicationListItem.Builder
extends WithJsonObjectBuilderBase<SearchApplicationListItem.Builder>
implements ObjectBuilder<SearchApplicationListItem>
Builder for
SearchApplicationListItem.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanalyticsCollectionName(String value) Analytics collection associated to the Search Applicationbuild()Builds aSearchApplicationListItem.Required - Indices that are part of the Search ApplicationRequired - Indices that are part of the Search ApplicationRequired - Search Application nameprotected SearchApplicationListItem.Builderself()updatedAtMillis(long value) Required - Last time the Search Application was updatedMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Required - Search Application nameAPI name:
name -
indices
Required - Indices that are part of the Search ApplicationAPI name:
indicesAdds all elements of
listtoindices. -
indices
Required - Indices that are part of the Search ApplicationAPI name:
indicesAdds one or more values to
indices. -
updatedAtMillis
Required - Last time the Search Application was updatedAPI name:
updated_at_millis -
analyticsCollectionName
Analytics collection associated to the Search ApplicationAPI name:
analytics_collection_name -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<SearchApplicationListItem.Builder>
-
build
Builds aSearchApplicationListItem.- Specified by:
buildin interfaceObjectBuilder<SearchApplicationListItem>- Throws:
NullPointerException- if some of the required fields are null.
-