Class SnapshotInfo
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.SnapshotInfo
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class SnapshotInfo extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSnapshotInfo.BuilderBuilder forSnapshotInfo. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SnapshotInfo>_DESERIALIZERJson deserializer forSnapshotInfo -
Method Summary
Modifier and Type Method Description java.util.List<java.lang.String>dataStreams()Required - API name:data_streamsTimeduration()API name:durationDateTimedurationInMillis()API name:duration_in_millisTimeendTime()API name:end_timeDateTimeendTimeInMillis()API name:end_time_in_millisjava.util.List<SnapshotShardFailure>failures()API name:failuresjava.util.List<InfoFeatureState>featureStates()API name:feature_statesjava.lang.BooleanincludeGlobalState()API name:include_global_statejava.util.Map<java.lang.String,IndexDetails>indexDetails()API name:index_detailsjava.util.List<java.lang.String>indices()Required - API name:indicesjava.util.Map<java.lang.String,JsonData>metadata()API name:metadatastatic SnapshotInfoof(java.util.function.Function<SnapshotInfo.Builder,ObjectBuilder<SnapshotInfo>> fn)java.lang.Stringreason()API name:reasonjava.lang.Stringrepository()API name:repositoryvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupSnapshotInfoDeserializer(ObjectDeserializer<SnapshotInfo.Builder> op)ShardStatisticsshards()API name:shardsjava.lang.Stringsnapshot()Required - API name:snapshotTimestartTime()API name:start_timeDateTimestartTimeInMillis()API name:start_time_in_millisjava.lang.Stringstate()API name:statejava.lang.Stringuuid()Required - API name:uuidjava.lang.Stringversion()API name:versionjava.lang.LongversionId()API name:version_idMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forSnapshotInfo
-
-
Method Details
-
of
public static SnapshotInfo of(java.util.function.Function<SnapshotInfo.Builder,ObjectBuilder<SnapshotInfo>> fn) -
dataStreams
public final java.util.List<java.lang.String> dataStreams()Required - API name:data_streams -
duration
API name:duration -
durationInMillis
API name:duration_in_millis -
endTime
API name:end_time -
endTimeInMillis
API name:end_time_in_millis -
failures
API name:failures -
includeGlobalState
@Nullable public final java.lang.Boolean includeGlobalState()API name:include_global_state -
indices
public final java.util.List<java.lang.String> indices()Required - API name:indices -
indexDetails
API name:index_details -
metadata
API name:metadata -
reason
@Nullable public final java.lang.String reason()API name:reason -
repository
@Nullable public final java.lang.String repository()API name:repository -
snapshot
public final java.lang.String snapshot()Required - API name:snapshot -
shards
API name:shards -
startTime
API name:start_time -
startTimeInMillis
API name:start_time_in_millis -
state
@Nullable public final java.lang.String state()API name:state -
uuid
public final java.lang.String uuid()Required - API name:uuid -
version
@Nullable public final java.lang.String version()API name:version -
versionId
@Nullable public final java.lang.Long versionId()API name:version_id -
featureStates
API name:feature_states -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupSnapshotInfoDeserializer
-