Class RepositoryMeteringInformation
java.lang.Object
co.elastic.clients.elasticsearch.nodes.RepositoryMeteringInformation
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class RepositoryMeteringInformation
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<RepositoryMeteringInformation>
Json deserializer forRepositoryMeteringInformation
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
archived()
Required - A flag that tells whether or not this object has been archived.final Long
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.final String
Required - An identifier that changes every time the repository is updated.final RepositoryLocation
Required - Represents an unique location within the repository.final String
Required - Repository name.final String
Required - Time the repository was created or updated.final String
Time the repository was deleted or updated.final String
Required - Repository type.final RequestCounts
Required - An object with the number of request performed against the repository grouped by request type.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
setupRepositoryMeteringInformationDeserializer
(ObjectDeserializer<RepositoryMeteringInformation.Builder> op) toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forRepositoryMeteringInformation
-
-
Method Details
-
of
-
repositoryName
Required - Repository name.API name:
repository_name
-
repositoryType
Required - Repository type.API name:
repository_type
-
repositoryLocation
Required - Represents an unique location within the repository.API name:
repository_location
-
repositoryEphemeralId
Required - An identifier that changes every time the repository is updated.API name:
repository_ephemeral_id
-
repositoryStartedAt
Required - Time the repository was created or updated. Recorded in milliseconds since the Unix Epoch.API name:
repository_started_at
-
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
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
Required - An object with the number of request performed against the repository grouped by request type.API name:
request_counts
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRepositoryMeteringInformationDeserializer
protected static void setupRepositoryMeteringInformationDeserializer(ObjectDeserializer<RepositoryMeteringInformation.Builder> op)
-