Class BetaFederationIssuer.Builder
-
- All Implemented Interfaces:
public final class BetaFederationIssuer.BuilderA builder for BetaFederationIssuer.
-
-
Method Summary
Modifier and Type Method Description final BetaFederationIssuer.Builderid(String id)Tagged ID of the federation issuer. final BetaFederationIssuer.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final BetaFederationIssuer.BuilderarchivedAt(OffsetDateTime archivedAt)If set, all rules referencing this issuer reject token exchange. final BetaFederationIssuer.BuilderarchivedAt(Optional<OffsetDateTime> archivedAt)Alias for calling Builder.archivedAt with archivedAt.orElse(null).final BetaFederationIssuer.BuilderarchivedAt(JsonField<OffsetDateTime> archivedAt)Sets Builder.archivedAt to an arbitrary JSON value. final BetaFederationIssuer.BuilderarchivedByActorId(String archivedByActorId)Tagged ID ( user_/svac_) of the actor that archived this issuer.final BetaFederationIssuer.BuilderarchivedByActorId(Optional<String> archivedByActorId)Alias for calling Builder.archivedByActorId with archivedByActorId.orElse(null).final BetaFederationIssuer.BuilderarchivedByActorId(JsonField<String> archivedByActorId)Sets Builder.archivedByActorId to an arbitrary JSON value. final BetaFederationIssuer.BuildercheckJti(Boolean checkJti)Whether the jwt-bearer exchange enforces JTI single-use (replay protection) for tokens from this issuer. final BetaFederationIssuer.BuildercheckJti(JsonField<Boolean> checkJti)Sets Builder.checkJti to an arbitrary JSON value. final BetaFederationIssuer.BuildercreatedAt(OffsetDateTime createdAt)When this issuer was created. final BetaFederationIssuer.BuildercreatedAt(JsonField<OffsetDateTime> createdAt)Sets Builder.createdAt to an arbitrary JSON value. final BetaFederationIssuer.BuildercreatedByActorId(String createdByActorId)Tagged ID ( user_/svac_) of the actor that created this issuer.final BetaFederationIssuer.BuildercreatedByActorId(Optional<String> createdByActorId)Alias for calling Builder.createdByActorId with createdByActorId.orElse(null).final BetaFederationIssuer.BuildercreatedByActorId(JsonField<String> createdByActorId)Sets Builder.createdByActorId to an arbitrary JSON value. final BetaFederationIssuer.BuilderissuerUrl(String issuerUrl)The issclaim value.final BetaFederationIssuer.BuilderissuerUrl(JsonField<String> issuerUrl)Sets Builder.issuerUrl to an arbitrary JSON value. final BetaFederationIssuer.Builderjwks(BetaFederationIssuer.Jwks jwks)How signing keys are obtained for signature verification. final BetaFederationIssuer.Builderjwks(JsonField<BetaFederationIssuer.Jwks> jwks)Sets Builder.jwks to an arbitrary JSON value. final BetaFederationIssuer.Builderjwks(BetaJwksDiscovery discovery)Alias for calling jwks with Jwks.ofDiscovery(discovery).final BetaFederationIssuer.Builderjwks(BetaJwksExplicitUrl explicitUrl)Alias for calling jwks with Jwks.ofExplicitUrl(explicitUrl).final BetaFederationIssuer.Builderjwks(BetaJwksInline inline)Alias for calling jwks with Jwks.ofInline(inline).final BetaFederationIssuer.BuilderjwksPollingDisabledAt(OffsetDateTime jwksPollingDisabledAt)If set, Anthropic's JWKS poller has paused polling for this issuer after repeated fetch failures. final BetaFederationIssuer.BuilderjwksPollingDisabledAt(Optional<OffsetDateTime> jwksPollingDisabledAt)Alias for calling Builder.jwksPollingDisabledAt with jwksPollingDisabledAt.orElse(null).final BetaFederationIssuer.BuilderjwksPollingDisabledAt(JsonField<OffsetDateTime> jwksPollingDisabledAt)Sets Builder.jwksPollingDisabledAt to an arbitrary JSON value. final BetaFederationIssuer.BuildermaxJwtLifetimeSeconds(Long maxJwtLifetimeSeconds)Maximum allowed iat→exp spread for assertions from this issuer (1-176400 seconds, i.e. final BetaFederationIssuer.BuildermaxJwtLifetimeSeconds(JsonField<Long> maxJwtLifetimeSeconds)Sets Builder.maxJwtLifetimeSeconds to an arbitrary JSON value. final BetaFederationIssuer.Buildername(String name)Admin-chosen slug identifier. final BetaFederationIssuer.Buildername(JsonField<String> name)Sets Builder.name to an arbitrary JSON value. final BetaFederationIssuer.BuilderpollStatus(BetaFederationIssuerPollStatus pollStatus)Live state of Anthropic's JWKS polling for this issuer. final BetaFederationIssuer.BuilderpollStatus(Optional<BetaFederationIssuerPollStatus> pollStatus)Alias for calling Builder.pollStatus with pollStatus.orElse(null).final BetaFederationIssuer.BuilderpollStatus(JsonField<BetaFederationIssuerPollStatus> pollStatus)Sets Builder.pollStatus to an arbitrary JSON value. final BetaFederationIssuer.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final BetaFederationIssuer.BuilderupdatedAt(OffsetDateTime updatedAt)When this issuer was last updated. final BetaFederationIssuer.BuilderupdatedAt(JsonField<OffsetDateTime> updatedAt)Sets Builder.updatedAt to an arbitrary JSON value. final BetaFederationIssuer.BuilderupdatedByActorId(String updatedByActorId)Tagged ID ( user_/svac_) of the actor that last updated this issuer.final BetaFederationIssuer.BuilderupdatedByActorId(Optional<String> updatedByActorId)Alias for calling Builder.updatedByActorId with updatedByActorId.orElse(null).final BetaFederationIssuer.BuilderupdatedByActorId(JsonField<String> updatedByActorId)Sets Builder.updatedByActorId to an arbitrary JSON value. final BetaFederationIssuer.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BetaFederationIssuer.BuilderexplicitUrlJwks(String url)Alias for calling jwks with the following: BetaJwksExplicitUrl.builder() .url(url) .build()final BetaFederationIssuer.BuilderinlineJwks(List<BetaJwksInline.Key> keys)Alias for calling jwks with the following: BetaJwksInline.builder() .keys(keys) .build()final BetaFederationIssuer.BuilderputAdditionalProperty(String key, JsonValue value)final BetaFederationIssuer.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BetaFederationIssuer.BuilderremoveAdditionalProperty(String key)final BetaFederationIssuer.BuilderremoveAllAdditionalProperties(Set<String> keys)final BetaFederationIssuerbuild()Returns an immutable instance of BetaFederationIssuer. -
-
Method Detail
-
id
final BetaFederationIssuer.Builder id(String id)
Tagged ID of the federation issuer.
-
id
final BetaFederationIssuer.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 BetaFederationIssuer.Builder archivedAt(OffsetDateTime archivedAt)
If set, all rules referencing this issuer reject token exchange.
-
archivedAt
final BetaFederationIssuer.Builder archivedAt(Optional<OffsetDateTime> archivedAt)
Alias for calling Builder.archivedAt with
archivedAt.orElse(null).
-
archivedAt
final BetaFederationIssuer.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 BetaFederationIssuer.Builder archivedByActorId(String archivedByActorId)
Tagged ID (
user_/svac_) of the actor that archived this issuer.
-
archivedByActorId
final BetaFederationIssuer.Builder archivedByActorId(Optional<String> archivedByActorId)
Alias for calling Builder.archivedByActorId with
archivedByActorId.orElse(null).
-
archivedByActorId
final BetaFederationIssuer.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 BetaFederationIssuer.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 BetaFederationIssuer.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 BetaFederationIssuer.Builder createdAt(OffsetDateTime createdAt)
When this issuer was created.
-
createdAt
final BetaFederationIssuer.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 BetaFederationIssuer.Builder createdByActorId(String createdByActorId)
Tagged ID (
user_/svac_) of the actor that created this issuer.
-
createdByActorId
final BetaFederationIssuer.Builder createdByActorId(Optional<String> createdByActorId)
Alias for calling Builder.createdByActorId with
createdByActorId.orElse(null).
-
createdByActorId
final BetaFederationIssuer.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 BetaFederationIssuer.Builder issuerUrl(String issuerUrl)
The
issclaim value. Incoming JWTs must match exactly.
-
issuerUrl
final BetaFederationIssuer.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 BetaFederationIssuer.Builder jwks(BetaFederationIssuer.Jwks jwks)
How signing keys are obtained for signature verification.
-
jwks
final BetaFederationIssuer.Builder jwks(JsonField<BetaFederationIssuer.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 BetaFederationIssuer.Builder jwks(BetaJwksDiscovery discovery)
Alias for calling jwks with
Jwks.ofDiscovery(discovery).
-
jwks
final BetaFederationIssuer.Builder jwks(BetaJwksExplicitUrl explicitUrl)
Alias for calling jwks with
Jwks.ofExplicitUrl(explicitUrl).
-
jwks
final BetaFederationIssuer.Builder jwks(BetaJwksInline inline)
Alias for calling jwks with
Jwks.ofInline(inline).
-
jwksPollingDisabledAt
final BetaFederationIssuer.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 BetaFederationIssuer.Builder jwksPollingDisabledAt(Optional<OffsetDateTime> jwksPollingDisabledAt)
Alias for calling Builder.jwksPollingDisabledAt with
jwksPollingDisabledAt.orElse(null).
-
jwksPollingDisabledAt
final BetaFederationIssuer.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 BetaFederationIssuer.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 BetaFederationIssuer.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 BetaFederationIssuer.Builder name(String name)
Admin-chosen slug identifier.
-
name
final BetaFederationIssuer.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 BetaFederationIssuer.Builder pollStatus(BetaFederationIssuerPollStatus 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 BetaFederationIssuer.Builder pollStatus(Optional<BetaFederationIssuerPollStatus> pollStatus)
Alias for calling Builder.pollStatus with
pollStatus.orElse(null).
-
pollStatus
final BetaFederationIssuer.Builder pollStatus(JsonField<BetaFederationIssuerPollStatus> pollStatus)
Sets Builder.pollStatus to an arbitrary JSON value.
You should usually call Builder.pollStatus with a well-typed BetaFederationIssuerPollStatus value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaFederationIssuer.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 BetaFederationIssuer.Builder updatedAt(OffsetDateTime updatedAt)
When this issuer was last updated.
-
updatedAt
final BetaFederationIssuer.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 BetaFederationIssuer.Builder updatedByActorId(String updatedByActorId)
Tagged ID (
user_/svac_) of the actor that last updated this issuer.
-
updatedByActorId
final BetaFederationIssuer.Builder updatedByActorId(Optional<String> updatedByActorId)
Alias for calling Builder.updatedByActorId with
updatedByActorId.orElse(null).
-
updatedByActorId
final BetaFederationIssuer.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 BetaFederationIssuer.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
explicitUrlJwks
final BetaFederationIssuer.Builder explicitUrlJwks(String url)
Alias for calling jwks with the following:
BetaJwksExplicitUrl.builder() .url(url) .build()
-
inlineJwks
final BetaFederationIssuer.Builder inlineJwks(List<BetaJwksInline.Key> keys)
Alias for calling jwks with the following:
BetaJwksInline.builder() .keys(keys) .build()
-
putAdditionalProperty
final BetaFederationIssuer.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaFederationIssuer.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaFederationIssuer.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaFederationIssuer.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaFederationIssuer build()
Returns an immutable instance of BetaFederationIssuer.
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()
-
-
-
-