Class AutoFollowedCluster.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ccr.stats.AutoFollowedCluster.Builder
- All Implemented Interfaces:
ObjectBuilder<AutoFollowedCluster>
- Enclosing class:
- AutoFollowedCluster
public static class AutoFollowedCluster.Builder extends java.lang.Object 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
AutoFollowedCluster.Builder
timeSinceLastCheckMillis(java.lang.String value)
Required - API name:time_since_last_check_millis
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
-
build
Builds aAutoFollowedCluster
.- Specified by:
build
in interfaceObjectBuilder<AutoFollowedCluster>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-