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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aAutoFollowedCluster.clusterName(String value) Required - API name:cluster_namelastSeenMetadataVersion(long value) Required - API name:last_seen_metadata_versionprotected AutoFollowedCluster.Builderself()timeSinceLastCheckMillis(long 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, _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:
selfin classWithJsonObjectBuilderBase<AutoFollowedCluster.Builder>
-
build
Builds aAutoFollowedCluster.- Specified by:
buildin interfaceObjectBuilder<AutoFollowedCluster>- Throws:
NullPointerException- if some of the required fields are null.
-