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
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description AutoFollowedCluster
build()
Builds aAutoFollowedCluster
.AutoFollowedCluster.Builder
clusterName(java.lang.String value)
Required - API name:cluster_name
AutoFollowedCluster.Builder
lastSeenMetadataVersion(long value)
Required - API name:last_seen_metadata_version
protected AutoFollowedCluster.Builder
self()
AutoFollowedCluster.Builder
timeSinceLastCheckMillis(long 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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:
java.lang.NullPointerException
- if some of the required fields are null.
-