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
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RepositoryMeteringInformation>Json deserializer forRepositoryMeteringInformation -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanarchived()Required - A flag that tells whether or not this object has been archived.final LongThe 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 StringRequired - An identifier that changes every time the repository is updated.final RepositoryLocationRequired - Represents an unique location within the repository.final StringRequired - Repository name.final longRequired - Time the repository was created or updated.final LongTime the repository was deleted or updated.final StringRequired - Repository type.final RequestCountsRequired - An object with the number of request performed against the repository grouped by request type.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupRepositoryMeteringInformationDeserializer(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
public final long 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRepositoryMeteringInformationDeserializer
protected static void setupRepositoryMeteringInformationDeserializer(ObjectDeserializer<RepositoryMeteringInformation.Builder> op)
-