Class DeprecationsResponse.Builder
- All Implemented Interfaces:
WithJson<DeprecationsResponse.Builder>,ObjectBuilder<DeprecationsResponse>
- Enclosing class:
- DeprecationsResponse
DeprecationsResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDeprecationsResponse.clusterSettings(Deprecation value, Deprecation... values) Required - Cluster-level deprecation warnings.Required - Cluster-level deprecation warnings.clusterSettings(List<Deprecation> list) Required - Cluster-level deprecation warnings.dataStreams(String key, List<Deprecation> value) Required - API name:data_streamsdataStreams(Map<String, List<Deprecation>> map) Required - API name:data_streamsilmPolicies(String key, List<Deprecation> value) Required - ILM policy warnings are sectioned off per policy.ilmPolicies(Map<String, List<Deprecation>> map) Required - ILM policy warnings are sectioned off per policy.indexSettings(String key, List<Deprecation> value) Required - Index warnings are sectioned off per index and can be filtered using an index-pattern in the query.indexSettings(Map<String, List<Deprecation>> map) Required - Index warnings are sectioned off per index and can be filtered using an index-pattern in the query.mlSettings(Deprecation value, Deprecation... values) Required - Machine learning-related deprecation warnings.Required - Machine learning-related deprecation warnings.mlSettings(List<Deprecation> list) Required - Machine learning-related deprecation warnings.nodeSettings(Deprecation value, Deprecation... values) Required - Node-level deprecation warnings.Required - Node-level deprecation warnings.nodeSettings(List<Deprecation> list) Required - Node-level deprecation warnings.protected DeprecationsResponse.Builderself()templates(String key, List<Deprecation> value) Required - Template warnings are sectioned off per template and include deprecations for both component templates and index templates.templates(Map<String, List<Deprecation>> map) Required - Template warnings are sectioned off per template and include deprecations for both component templates and index templates.Methods 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
-
clusterSettings
Required - Cluster-level deprecation warnings.API name:
cluster_settingsAdds all elements of
listtoclusterSettings. -
clusterSettings
Required - Cluster-level deprecation warnings.API name:
cluster_settingsAdds one or more values to
clusterSettings. -
clusterSettings
public final DeprecationsResponse.Builder clusterSettings(Function<Deprecation.Builder, ObjectBuilder<Deprecation>> fn) Required - Cluster-level deprecation warnings.API name:
cluster_settingsAdds a value to
clusterSettingsusing a builder lambda. -
indexSettings
Required - Index warnings are sectioned off per index and can be filtered using an index-pattern in the query. This section includes warnings for the backing indices of data streams specified in the request path.API name:
index_settingsAdds all entries of
maptoindexSettings. -
indexSettings
Required - Index warnings are sectioned off per index and can be filtered using an index-pattern in the query. This section includes warnings for the backing indices of data streams specified in the request path.API name:
index_settingsAdds an entry to
indexSettings. -
dataStreams
Required - API name:data_streamsAdds all entries of
maptodataStreams. -
dataStreams
Required - API name:data_streamsAdds an entry to
dataStreams. -
nodeSettings
Required - Node-level deprecation warnings. Since only a subset of your nodes might incorporate these settings, it is important to read the details section for more information about which nodes are affected.API name:
node_settingsAdds all elements of
listtonodeSettings. -
nodeSettings
Required - Node-level deprecation warnings. Since only a subset of your nodes might incorporate these settings, it is important to read the details section for more information about which nodes are affected.API name:
node_settingsAdds one or more values to
nodeSettings. -
nodeSettings
public final DeprecationsResponse.Builder nodeSettings(Function<Deprecation.Builder, ObjectBuilder<Deprecation>> fn) Required - Node-level deprecation warnings. Since only a subset of your nodes might incorporate these settings, it is important to read the details section for more information about which nodes are affected.API name:
node_settingsAdds a value to
nodeSettingsusing a builder lambda. -
mlSettings
Required - Machine learning-related deprecation warnings.API name:
ml_settingsAdds all elements of
listtomlSettings. -
mlSettings
Required - Machine learning-related deprecation warnings.API name:
ml_settingsAdds one or more values to
mlSettings. -
mlSettings
public final DeprecationsResponse.Builder mlSettings(Function<Deprecation.Builder, ObjectBuilder<Deprecation>> fn) Required - Machine learning-related deprecation warnings.API name:
ml_settingsAdds a value to
mlSettingsusing a builder lambda. -
templates
Required - Template warnings are sectioned off per template and include deprecations for both component templates and index templates.API name:
templatesAdds all entries of
maptotemplates. -
templates
Required - Template warnings are sectioned off per template and include deprecations for both component templates and index templates.API name:
templatesAdds an entry to
templates. -
ilmPolicies
Required - ILM policy warnings are sectioned off per policy.API name:
ilm_policiesAdds all entries of
maptoilmPolicies. -
ilmPolicies
Required - ILM policy warnings are sectioned off per policy.API name:
ilm_policiesAdds an entry to
ilmPolicies. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<DeprecationsResponse.Builder>
-
build
Builds aDeprecationsResponse.- Specified by:
buildin interfaceObjectBuilder<DeprecationsResponse>- Throws:
NullPointerException- if some of the required fields are null.
-