Class RemoteClusterInfo.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<RemoteClusterInfo.Builder>
co.elastic.clients.elasticsearch.cluster.stats.RemoteClusterInfo.Builder
- All Implemented Interfaces:
WithJson<RemoteClusterInfo.Builder>
,ObjectBuilder<RemoteClusterInfo>
- Enclosing class:
- RemoteClusterInfo
public static class RemoteClusterInfo.Builder
extends WithJsonObjectBuilderBase<RemoteClusterInfo.Builder>
implements ObjectBuilder<RemoteClusterInfo>
Builder for
RemoteClusterInfo
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aRemoteClusterInfo
.clusterUuid
(String value) Required - The UUID of the remote cluster.indicesCount
(int value) Required - The total number of indices in the remote cluster.indicesTotalSize
(String value) Total data set size of all shards assigned to selected nodes, as a human-readable string.indicesTotalSizeInBytes
(long value) Required - Total data set size, in bytes, of all shards assigned to selected nodes.Maximum amount of memory available for use by the heap across the nodes of the remote cluster, as a human-readable string.maxHeapInBytes
(long value) Required - Maximum amount of memory, in bytes, available for use by the heap across the nodes of the remote cluster.Total amount of physical memory across the nodes of the remote cluster, as a human-readable string.memTotalInBytes
(long value) Required - Total amount, in bytes, of physical memory across the nodes of the remote cluster.Required - The connection mode used to communicate with the remote cluster.nodesCount
(int value) Required - The total count of nodes in the remote cluster.protected RemoteClusterInfo.Builder
self()
shardsCount
(int value) Required - The total number of shards in the remote cluster.skipUnavailable
(boolean value) Required - Theskip_unavailable
setting used for this remote cluster.status
(HealthStatus value) Required - Health status of the cluster, based on the state of its primary and replica shards.transportCompress
(String value) Required - Transport compression setting used for this remote cluster.Required - The list of Elasticsearch versions used by the nodes on the remote cluster.Required - The list of Elasticsearch versions used by the nodes on the remote cluster.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
-
clusterUuid
Required - The UUID of the remote cluster.API name:
cluster_uuid
-
mode
Required - The connection mode used to communicate with the remote cluster.API name:
mode
-
transportCompress
Required - Transport compression setting used for this remote cluster.API name:
transport_compress
-
status
Required - Health status of the cluster, based on the state of its primary and replica shards.API name:
status
-
version
Required - The list of Elasticsearch versions used by the nodes on the remote cluster.API name:
version
Adds all elements of
list
toversion
. -
version
Required - The list of Elasticsearch versions used by the nodes on the remote cluster.API name:
version
Adds one or more values to
version
. -
nodesCount
Required - The total count of nodes in the remote cluster.API name:
nodes_count
-
shardsCount
Required - The total number of shards in the remote cluster.API name:
shards_count
-
indicesCount
Required - The total number of indices in the remote cluster.API name:
indices_count
-
indicesTotalSizeInBytes
Required - Total data set size, in bytes, of all shards assigned to selected nodes.API name:
indices_total_size_in_bytes
-
indicesTotalSize
Total data set size of all shards assigned to selected nodes, as a human-readable string.API name:
indices_total_size
-
maxHeapInBytes
Required - Maximum amount of memory, in bytes, available for use by the heap across the nodes of the remote cluster.API name:
max_heap_in_bytes
-
maxHeap
Maximum amount of memory available for use by the heap across the nodes of the remote cluster, as a human-readable string.API name:
max_heap
-
memTotalInBytes
Required - Total amount, in bytes, of physical memory across the nodes of the remote cluster.API name:
mem_total_in_bytes
-
memTotal
Total amount of physical memory across the nodes of the remote cluster, as a human-readable string.API name:
mem_total
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<RemoteClusterInfo.Builder>
-
build
Builds aRemoteClusterInfo
.- Specified by:
build
in interfaceObjectBuilder<RemoteClusterInfo>
- Throws:
NullPointerException
- if some of the required fields are null.
-