Class RepositoryMeteringInformation

java.lang.Object
co.elastic.clients.elasticsearch.nodes.RepositoryMeteringInformation
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public class RepositoryMeteringInformation
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

    • repositoryName

      public final java.lang.String repositoryName()
      Required - Repository name.

      API name: repository_name

    • repositoryType

      public final java.lang.String repositoryType()
      Required - Repository type.

      API name: repository_type

    • repositoryLocation

      public final RepositoryLocation repositoryLocation()
      Required - Represents an unique location within the repository.

      API name: repository_location

    • repositoryEphemeralId

      public final java.lang.String repositoryEphemeralId()
      Required - An identifier that changes every time the repository is updated.

      API name: repository_ephemeral_id

    • repositoryStartedAt

      public final DateTime repositoryStartedAt()
      Required - Time the repository was created or updated. Recorded in milliseconds since the Unix Epoch.

      API name: repository_started_at

    • repositoryStoppedAt

      @Nullable public final DateTime repositoryStoppedAt()
      Time the repository was deleted or updated. Recorded in milliseconds since the Unix Epoch.

      API name: repository_stopped_at

    • archived

      public final boolean archived()
      Required - A flag that tells whether or not this object has been archived. When a repository is closed or updated the repository metering information is archived and kept for a certain period of time. This allows retrieving the repository metering information of previous repository instantiations.

      API name: archived

    • clusterVersion

      @Nullable public final java.lang.Long clusterVersion()
      The cluster state version when this object was archived, this field can be used as a logical timestamp to delete all the archived metrics up to an observed version. This field is only present for archived repository metering information objects. The main purpose of this field is to avoid possible race conditions during repository metering information deletions, i.e. deleting archived repositories metering information that we haven’t observed yet.

      API name: cluster_version

    • requestCounts

      public final RequestCounts requestCounts()
      Required - An object with the number of request performed against the repository grouped by request type.

      API name: request_counts

    • serialize

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • setupRepositoryMeteringInformationDeserializer

      protected static void setupRepositoryMeteringInformationDeserializer​(ObjectDeserializer<RepositoryMeteringInformation.Builder> op)