Class FederationIssuer.Builder
-
- All Implemented Interfaces:
public final class FederationIssuer.BuilderA builder for FederationIssuer.
-
-
Method Summary
Modifier and Type Method Description final FederationIssuer.Builderid(String id)Tagged ID of the federation issuer. final FederationIssuer.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final FederationIssuer.BuilderarchivedAt(OffsetDateTime archivedAt)If set, all rules referencing this issuer reject token exchange. final FederationIssuer.BuilderarchivedAt(Optional<OffsetDateTime> archivedAt)Alias for calling Builder.archivedAt with archivedAt.orElse(null).final FederationIssuer.BuilderarchivedAt(JsonField<OffsetDateTime> archivedAt)Sets Builder.archivedAt to an arbitrary JSON value. final FederationIssuer.BuilderarchivedByActorId(String archivedByActorId)Tagged ID ( user_/svac_) of the actor that archived this issuer.final FederationIssuer.BuilderarchivedByActorId(Optional<String> archivedByActorId)Alias for calling Builder.archivedByActorId with archivedByActorId.orElse(null).final FederationIssuer.BuilderarchivedByActorId(JsonField<String> archivedByActorId)Sets Builder.archivedByActorId to an arbitrary JSON value. final FederationIssuer.BuildercheckJti(Boolean checkJti)Whether the jwt-bearer exchange enforces JTI single-use (replay protection) for tokens from this issuer. final FederationIssuer.BuildercheckJti(JsonField<Boolean> checkJti)Sets Builder.checkJti to an arbitrary JSON value. final FederationIssuer.BuildercreatedAt(OffsetDateTime createdAt)When this issuer was created. final FederationIssuer.BuildercreatedAt(JsonField<OffsetDateTime> createdAt)Sets Builder.createdAt to an arbitrary JSON value. final FederationIssuer.BuildercreatedByActorId(String createdByActorId)Tagged ID ( user_/svac_) of the actor that created this issuer.final FederationIssuer.BuildercreatedByActorId(Optional<String> createdByActorId)Alias for calling Builder.createdByActorId with createdByActorId.orElse(null).final FederationIssuer.BuildercreatedByActorId(JsonField<String> createdByActorId)Sets Builder.createdByActorId to an arbitrary JSON value. final FederationIssuer.BuilderissuerUrl(String issuerUrl)The issclaim value.final FederationIssuer.BuilderissuerUrl(JsonField<String> issuerUrl)Sets Builder.issuerUrl to an arbitrary JSON value. final FederationIssuer.Builderjwks(FederationIssuer.Jwks jwks)How signing keys are obtained for signature verification. final FederationIssuer.Builderjwks(JsonField<FederationIssuer.Jwks> jwks)Sets Builder.jwks to an arbitrary JSON value. final FederationIssuer.Builderjwks(JwksDiscovery discovery)Alias for calling jwks with Jwks.ofDiscovery(discovery).final FederationIssuer.Builderjwks(JwksExplicitUrl explicitUrl)Alias for calling jwks with Jwks.ofExplicitUrl(explicitUrl).final FederationIssuer.Builderjwks(JwksInline inline)Alias for calling jwks with Jwks.ofInline(inline).final FederationIssuer.BuilderjwksPollingDisabledAt(OffsetDateTime jwksPollingDisabledAt)If set, Anthropic's JWKS poller has paused polling for this issuer after repeated fetch failures. final FederationIssuer.BuilderjwksPollingDisabledAt(Optional<OffsetDateTime> jwksPollingDisabledAt)Alias for calling Builder.jwksPollingDisabledAt with jwksPollingDisabledAt.orElse(null).final FederationIssuer.BuilderjwksPollingDisabledAt(JsonField<OffsetDateTime> jwksPollingDisabledAt)Sets Builder.jwksPollingDisabledAt to an arbitrary JSON value. final FederationIssuer.BuildermaxJwtLifetimeSeconds(Long maxJwtLifetimeSeconds)Maximum allowed iat→exp spread for assertions from this issuer (1-176400 seconds, i.e. final FederationIssuer.BuildermaxJwtLifetimeSeconds(JsonField<Long> maxJwtLifetimeSeconds)Sets Builder.maxJwtLifetimeSeconds to an arbitrary JSON value. final FederationIssuer.Buildername(String name)Admin-chosen slug identifier. final FederationIssuer.Buildername(JsonField<String> name)Sets Builder.name to an arbitrary JSON value. final FederationIssuer.BuilderpollStatus(FederationIssuerPollStatus pollStatus)Live state of Anthropic's JWKS polling for this issuer. final FederationIssuer.BuilderpollStatus(Optional<FederationIssuerPollStatus> pollStatus)Alias for calling Builder.pollStatus with pollStatus.orElse(null).final FederationIssuer.BuilderpollStatus(JsonField<FederationIssuerPollStatus> pollStatus)Sets Builder.pollStatus to an arbitrary JSON value. final FederationIssuer.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final FederationIssuer.BuilderupdatedAt(OffsetDateTime updatedAt)When this issuer was last updated. final FederationIssuer.BuilderupdatedAt(JsonField<OffsetDateTime> updatedAt)Sets Builder.updatedAt to an arbitrary JSON value. final FederationIssuer.BuilderupdatedByActorId(String updatedByActorId)Tagged ID ( user_/svac_) of the actor that last updated this issuer.final FederationIssuer.BuilderupdatedByActorId(Optional<String> updatedByActorId)Alias for calling Builder.updatedByActorId with updatedByActorId.orElse(null).final FederationIssuer.BuilderupdatedByActorId(JsonField<String> updatedByActorId)Sets Builder.updatedByActorId to an arbitrary JSON value. final FederationIssuer.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final FederationIssuer.BuilderexplicitUrlJwks(String url)Alias for calling jwks with the following: JwksExplicitUrl.builder() .url(url) .build()final FederationIssuer.BuilderinlineJwks(List<JwksInline.Key> keys)Alias for calling jwks with the following: JwksInline.builder() .keys(keys) .build()final FederationIssuer.BuilderputAdditionalProperty(String key, JsonValue value)final FederationIssuer.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final FederationIssuer.BuilderremoveAdditionalProperty(String key)final FederationIssuer.BuilderremoveAllAdditionalProperties(Set<String> keys)final FederationIssuerbuild()Returns an immutable instance of FederationIssuer. -
-
Method Detail
-
id
final FederationIssuer.Builder id(String id)
Tagged ID of the federation issuer.
-
id
final FederationIssuer.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
archivedAt
final FederationIssuer.Builder archivedAt(OffsetDateTime archivedAt)
If set, all rules referencing this issuer reject token exchange.
-
archivedAt
final FederationIssuer.Builder archivedAt(Optional<OffsetDateTime> archivedAt)
Alias for calling Builder.archivedAt with
archivedAt.orElse(null).
-
archivedAt
final FederationIssuer.Builder archivedAt(JsonField<OffsetDateTime> archivedAt)
Sets Builder.archivedAt to an arbitrary JSON value.
You should usually call Builder.archivedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
archivedByActorId
final FederationIssuer.Builder archivedByActorId(String archivedByActorId)
Tagged ID (
user_/svac_) of the actor that archived this issuer.
-
archivedByActorId
final FederationIssuer.Builder archivedByActorId(Optional<String> archivedByActorId)
Alias for calling Builder.archivedByActorId with
archivedByActorId.orElse(null).
-
archivedByActorId
final FederationIssuer.Builder archivedByActorId(JsonField<String> archivedByActorId)
Sets Builder.archivedByActorId to an arbitrary JSON value.
You should usually call Builder.archivedByActorId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
checkJti
final FederationIssuer.Builder checkJti(Boolean checkJti)
Whether the jwt-bearer exchange enforces JTI single-use (replay protection) for tokens from this issuer. Applies only to assertions carrying a
jticlaim; tokens without one are accepted without single-use enforcement.
-
checkJti
final FederationIssuer.Builder checkJti(JsonField<Boolean> checkJti)
Sets Builder.checkJti to an arbitrary JSON value.
You should usually call Builder.checkJti with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdAt
final FederationIssuer.Builder createdAt(OffsetDateTime createdAt)
When this issuer was created.
-
createdAt
final FederationIssuer.Builder createdAt(JsonField<OffsetDateTime> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdByActorId
final FederationIssuer.Builder createdByActorId(String createdByActorId)
Tagged ID (
user_/svac_) of the actor that created this issuer.
-
createdByActorId
final FederationIssuer.Builder createdByActorId(Optional<String> createdByActorId)
Alias for calling Builder.createdByActorId with
createdByActorId.orElse(null).
-
createdByActorId
final FederationIssuer.Builder createdByActorId(JsonField<String> createdByActorId)
Sets Builder.createdByActorId to an arbitrary JSON value.
You should usually call Builder.createdByActorId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
issuerUrl
final FederationIssuer.Builder issuerUrl(String issuerUrl)
The
issclaim value. Incoming JWTs must match exactly.
-
issuerUrl
final FederationIssuer.Builder issuerUrl(JsonField<String> issuerUrl)
Sets Builder.issuerUrl to an arbitrary JSON value.
You should usually call Builder.issuerUrl with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
jwks
final FederationIssuer.Builder jwks(FederationIssuer.Jwks jwks)
How signing keys are obtained for signature verification.
-
jwks
final FederationIssuer.Builder jwks(JsonField<FederationIssuer.Jwks> jwks)
Sets Builder.jwks to an arbitrary JSON value.
You should usually call Builder.jwks with a well-typed Jwks value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
jwks
final FederationIssuer.Builder jwks(JwksDiscovery discovery)
Alias for calling jwks with
Jwks.ofDiscovery(discovery).
-
jwks
final FederationIssuer.Builder jwks(JwksExplicitUrl explicitUrl)
Alias for calling jwks with
Jwks.ofExplicitUrl(explicitUrl).
-
jwks
final FederationIssuer.Builder jwks(JwksInline inline)
Alias for calling jwks with
Jwks.ofInline(inline).
-
jwksPollingDisabledAt
final FederationIssuer.Builder jwksPollingDisabledAt(OffsetDateTime jwksPollingDisabledAt)
If set, Anthropic's JWKS poller has paused polling for this issuer after repeated fetch failures. Re-enable by sending
jwks_polling_disabled: falsevia the issuer update endpoint (POST) once the upstream JWKS endpoint is fixed. An OAuth caller cannot send this when the issuer backs a rule with any scope other thanworkspace:developerorworkspace:inference; use a Console session.
-
jwksPollingDisabledAt
final FederationIssuer.Builder jwksPollingDisabledAt(Optional<OffsetDateTime> jwksPollingDisabledAt)
Alias for calling Builder.jwksPollingDisabledAt with
jwksPollingDisabledAt.orElse(null).
-
jwksPollingDisabledAt
final FederationIssuer.Builder jwksPollingDisabledAt(JsonField<OffsetDateTime> jwksPollingDisabledAt)
Sets Builder.jwksPollingDisabledAt to an arbitrary JSON value.
You should usually call Builder.jwksPollingDisabledAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
maxJwtLifetimeSeconds
final FederationIssuer.Builder maxJwtLifetimeSeconds(Long maxJwtLifetimeSeconds)
Maximum allowed iat→exp spread for assertions from this issuer (1-176400 seconds, i.e. up to 49h). Assertions must carry both
iatandexp; a missingiatis rejected.
-
maxJwtLifetimeSeconds
final FederationIssuer.Builder maxJwtLifetimeSeconds(JsonField<Long> maxJwtLifetimeSeconds)
Sets Builder.maxJwtLifetimeSeconds to an arbitrary JSON value.
You should usually call Builder.maxJwtLifetimeSeconds with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final FederationIssuer.Builder name(String name)
Admin-chosen slug identifier.
-
name
final FederationIssuer.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
pollStatus
final FederationIssuer.Builder pollStatus(FederationIssuerPollStatus pollStatus)
Live state of Anthropic's JWKS polling for this issuer. Populated on both single-issuer retrieval and list responses, including archived issuers. Typically null for inline-key issuers (no polling), or when poll status is temporarily unavailable or polling has not started yet.
-
pollStatus
final FederationIssuer.Builder pollStatus(Optional<FederationIssuerPollStatus> pollStatus)
Alias for calling Builder.pollStatus with
pollStatus.orElse(null).
-
pollStatus
final FederationIssuer.Builder pollStatus(JsonField<FederationIssuerPollStatus> pollStatus)
Sets Builder.pollStatus to an arbitrary JSON value.
You should usually call Builder.pollStatus with a well-typed FederationIssuerPollStatus value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final FederationIssuer.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("federation_issuer")This method is primarily for setting the field to an undocumented or not yet supported value.
-
updatedAt
final FederationIssuer.Builder updatedAt(OffsetDateTime updatedAt)
When this issuer was last updated.
-
updatedAt
final FederationIssuer.Builder updatedAt(JsonField<OffsetDateTime> updatedAt)
Sets Builder.updatedAt to an arbitrary JSON value.
You should usually call Builder.updatedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
updatedByActorId
final FederationIssuer.Builder updatedByActorId(String updatedByActorId)
Tagged ID (
user_/svac_) of the actor that last updated this issuer.
-
updatedByActorId
final FederationIssuer.Builder updatedByActorId(Optional<String> updatedByActorId)
Alias for calling Builder.updatedByActorId with
updatedByActorId.orElse(null).
-
updatedByActorId
final FederationIssuer.Builder updatedByActorId(JsonField<String> updatedByActorId)
Sets Builder.updatedByActorId to an arbitrary JSON value.
You should usually call Builder.updatedByActorId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final FederationIssuer.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
explicitUrlJwks
final FederationIssuer.Builder explicitUrlJwks(String url)
Alias for calling jwks with the following:
JwksExplicitUrl.builder() .url(url) .build()
-
inlineJwks
final FederationIssuer.Builder inlineJwks(List<JwksInline.Key> keys)
Alias for calling jwks with the following:
JwksInline.builder() .keys(keys) .build()
-
putAdditionalProperty
final FederationIssuer.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FederationIssuer.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FederationIssuer.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FederationIssuer.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FederationIssuer build()
Returns an immutable instance of FederationIssuer.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .archivedAt() .archivedByActorId() .checkJti() .createdAt() .createdByActorId() .issuerUrl() .jwks() .jwksPollingDisabledAt() .maxJwtLifetimeSeconds() .name() .pollStatus() .updatedAt() .updatedByActorId()
-
-
-
-