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 AutoFollowedClusterbuild()Builds aAutoFollowedCluster.AutoFollowedCluster.BuilderclusterName(java.lang.String value)Required - API name:cluster_nameAutoFollowedCluster.BuilderlastSeenMetadataVersion(long value)Required - API name:last_seen_metadata_versionprotected AutoFollowedCluster.Builderself()AutoFollowedCluster.BuildertimeSinceLastCheckMillis(java.lang.String value)Required - API name:time_since_last_check_millisMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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:
selfin classWithJsonObjectBuilderBase<AutoFollowedCluster.Builder>
-
build
Builds aAutoFollowedCluster.- Specified by:
buildin interfaceObjectBuilder<AutoFollowedCluster>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-