Class BetaFederationIssuerPollStatus
-
- All Implemented Interfaces:
public final class BetaFederationIssuerPollStatusStatus of automatic JWKS polling for a federation issuer.
Anthropic periodically fetches the issuer's signing keys in the background. These fields summarize the most recent fetches so the health of the JWKS endpoint can be monitored.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaFederationIssuerPollStatus.BuilderA builder for BetaFederationIssuerPollStatus.
-
Method Summary
Modifier and Type Method Description final LongconsecutiveFailures()Consecutive fetch failures since the last success. final Optional<OffsetDateTime>lastFetchedAt()When the last successful fetch completed. final Optional<OffsetDateTime>nextPollAt()When the next fetch is scheduled. final JsonField<Long>_consecutiveFailures()Returns the raw JSON value of consecutiveFailures. final JsonField<OffsetDateTime>_lastFetchedAt()Returns the raw JSON value of lastFetchedAt. final JsonField<OffsetDateTime>_nextPollAt()Returns the raw JSON value of nextPollAt. final Map<String, JsonValue>_additionalProperties()final BetaFederationIssuerPollStatus.BuildertoBuilder()final BetaFederationIssuerPollStatusvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaFederationIssuerPollStatus.Builderbuilder()Returns a mutable builder for constructing an instance of BetaFederationIssuerPollStatus. -
-
Method Detail
-
consecutiveFailures
final Long consecutiveFailures()
Consecutive fetch failures since the last success.
-
lastFetchedAt
final Optional<OffsetDateTime> lastFetchedAt()
When the last successful fetch completed.
-
nextPollAt
final Optional<OffsetDateTime> nextPollAt()
When the next fetch is scheduled. Null if paused.
-
_consecutiveFailures
final JsonField<Long> _consecutiveFailures()
Returns the raw JSON value of consecutiveFailures.
Unlike consecutiveFailures, this method doesn't throw if the JSON field has an unexpected type.
-
_lastFetchedAt
final JsonField<OffsetDateTime> _lastFetchedAt()
Returns the raw JSON value of lastFetchedAt.
Unlike lastFetchedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_nextPollAt
final JsonField<OffsetDateTime> _nextPollAt()
Returns the raw JSON value of nextPollAt.
Unlike nextPollAt, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaFederationIssuerPollStatus.Builder toBuilder()
-
validate
final BetaFederationIssuerPollStatus validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaFederationIssuerPollStatus.Builder builder()
Returns a mutable builder for constructing an instance of BetaFederationIssuerPollStatus.
The following fields are required:
.consecutiveFailures() .lastFetchedAt() .nextPollAt()
-
-
-
-