Class AutoFollowedCluster.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<AutoFollowedCluster.Builder>
co.elastic.clients.elasticsearch.ccr.stats.AutoFollowedCluster.Builder
- All Implemented Interfaces:
WithJson<AutoFollowedCluster.Builder>
,ObjectBuilder<AutoFollowedCluster>
- Enclosing class:
- AutoFollowedCluster
public static class AutoFollowedCluster.Builder
extends WithJsonObjectBuilderBase<AutoFollowedCluster.Builder>
implements ObjectBuilder<AutoFollowedCluster>
Builder for
AutoFollowedCluster
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aAutoFollowedCluster
.clusterName
(String value) Required - API name:cluster_name
lastSeenMetadataVersion
(long value) Required - API name:last_seen_metadata_version
protected AutoFollowedCluster.Builder
self()
timeSinceLastCheckMillis
(String value) Required - API name:time_since_last_check_millis
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
-
clusterName
Required - API name:cluster_name
-
lastSeenMetadataVersion
Required - API name:last_seen_metadata_version
-
timeSinceLastCheckMillis
Required - API name:time_since_last_check_millis
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<AutoFollowedCluster.Builder>
-
build
Builds aAutoFollowedCluster
.- Specified by:
build
in interfaceObjectBuilder<AutoFollowedCluster>
- Throws:
NullPointerException
- if some of the required fields are null.
-