Class IssuerUpdateParams.Body.Builder
-
- All Implemented Interfaces:
public final class IssuerUpdateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
checkJti
final IssuerUpdateParams.Body.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 IssuerUpdateParams.Body.Builder checkJti(Boolean checkJti)
Alias for Builder.checkJti.
This unboxed primitive overload exists for backwards compatibility.
-
checkJti
final IssuerUpdateParams.Body.Builder checkJti(Optional<Boolean> checkJti)
Alias for calling Builder.checkJti with
checkJti.orElse(null).
-
checkJti
final IssuerUpdateParams.Body.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.
-
issuerUrl
final IssuerUpdateParams.Body.Builder issuerUrl(String issuerUrl)
Replaces the
issclaim value to match against. For discovery-mode issuers without adiscovery_base, this is also the URL Anthropic fetches the OIDC discovery document and signing keys from, so changing it repoints the JWKS source. Changing the issuer URL to a well-known shared platform is rejected while any live rule under this issuer would not constrain tenant identity.
-
issuerUrl
final IssuerUpdateParams.Body.Builder issuerUrl(Optional<String> issuerUrl)
Alias for calling Builder.issuerUrl with
issuerUrl.orElse(null).
-
issuerUrl
final IssuerUpdateParams.Body.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 IssuerUpdateParams.Body.Builder jwks(IssuerUpdateParams.Jwks jwks)
Replaces the entire JWKS configuration.
-
jwks
final IssuerUpdateParams.Body.Builder jwks(Optional<IssuerUpdateParams.Jwks> jwks)
Alias for calling Builder.jwks with
jwks.orElse(null).
-
jwks
final IssuerUpdateParams.Body.Builder jwks(JsonField<IssuerUpdateParams.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 IssuerUpdateParams.Body.Builder jwks(JwksDiscovery discovery)
Alias for calling jwks with
Jwks.ofDiscovery(discovery).
-
jwks
final IssuerUpdateParams.Body.Builder jwks(JwksExplicitUrl explicitUrl)
Alias for calling jwks with
Jwks.ofExplicitUrl(explicitUrl).
-
jwks
final IssuerUpdateParams.Body.Builder jwks(JwksInline inline)
Alias for calling jwks with
Jwks.ofInline(inline).
-
jwksPollingDisabled
final IssuerUpdateParams.Body.Builder jwksPollingDisabled(Boolean jwksPollingDisabled)
Only
falseis accepted, to re-enable polling after the system pauses it. Polling is paused automatically; sendingtrueis rejected.
-
jwksPollingDisabled
final IssuerUpdateParams.Body.Builder jwksPollingDisabled(Boolean jwksPollingDisabled)
Alias for Builder.jwksPollingDisabled.
This unboxed primitive overload exists for backwards compatibility.
-
jwksPollingDisabled
final IssuerUpdateParams.Body.Builder jwksPollingDisabled(Optional<Boolean> jwksPollingDisabled)
Alias for calling Builder.jwksPollingDisabled with
jwksPollingDisabled.orElse(null).
-
jwksPollingDisabled
final IssuerUpdateParams.Body.Builder jwksPollingDisabled(JsonField<Boolean> jwksPollingDisabled)
Sets Builder.jwksPollingDisabled to an arbitrary JSON value.
You should usually call Builder.jwksPollingDisabled with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
maxJwtLifetimeSeconds
final IssuerUpdateParams.Body.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 IssuerUpdateParams.Body.Builder maxJwtLifetimeSeconds(Long maxJwtLifetimeSeconds)
Alias for Builder.maxJwtLifetimeSeconds.
This unboxed primitive overload exists for backwards compatibility.
-
maxJwtLifetimeSeconds
final IssuerUpdateParams.Body.Builder maxJwtLifetimeSeconds(Optional<Long> maxJwtLifetimeSeconds)
Alias for calling Builder.maxJwtLifetimeSeconds with
maxJwtLifetimeSeconds.orElse(null).
-
maxJwtLifetimeSeconds
final IssuerUpdateParams.Body.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 IssuerUpdateParams.Body.Builder name(String name)
Replaces the slug identifier (lowercase, digits, hyphens). Unique within the organization; a duplicate name returns 409.
-
name
final IssuerUpdateParams.Body.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
name
final IssuerUpdateParams.Body.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.
-
additionalProperties
final IssuerUpdateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
explicitUrlJwks
final IssuerUpdateParams.Body.Builder explicitUrlJwks(String url)
Alias for calling jwks with the following:
JwksExplicitUrl.builder() .url(url) .build()
-
inlineJwks
final IssuerUpdateParams.Body.Builder inlineJwks(List<JwksInline.Key> keys)
Alias for calling jwks with the following:
JwksInline.builder() .keys(keys) .build()
-
putAdditionalProperty
final IssuerUpdateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final IssuerUpdateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final IssuerUpdateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final IssuerUpdateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final IssuerUpdateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-