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_streams
dataStreams
(Map<String, List<Deprecation>> map) Required - API name:data_streams
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.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
-
clusterSettings
Required - Cluster-level deprecation warnings.API name:
cluster_settings
Adds all elements of
list
toclusterSettings
. -
clusterSettings
Required - Cluster-level deprecation warnings.API name:
cluster_settings
Adds 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_settings
Adds a value to
clusterSettings
using 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_settings
Adds all entries of
map
toindexSettings
. -
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_settings
Adds an entry to
indexSettings
. -
dataStreams
Required - API name:data_streams
Adds all entries of
map
todataStreams
. -
dataStreams
Required - API name:data_streams
Adds 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_settings
Adds all elements of
list
tonodeSettings
. -
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_settings
Adds 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_settings
Adds a value to
nodeSettings
using a builder lambda. -
mlSettings
Required - Machine learning-related deprecation warnings.API name:
ml_settings
Adds all elements of
list
tomlSettings
. -
mlSettings
Required - Machine learning-related deprecation warnings.API name:
ml_settings
Adds 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_settings
Adds a value to
mlSettings
using a builder lambda. -
self
- Specified by:
self
in classWithJsonObjectBuilderBase<DeprecationsResponse.Builder>
-
build
Builds aDeprecationsResponse
.- Specified by:
build
in interfaceObjectBuilder<DeprecationsResponse>
- Throws:
NullPointerException
- if some of the required fields are null.
-