Class ClientSecretCreateParams.ExpiresAfter.Builder
-
- All Implemented Interfaces:
public final class ClientSecretCreateParams.ExpiresAfter.Builder
A builder for ExpiresAfter.
-
-
Method Summary
-
-
Method Detail
-
anchor
final ClientSecretCreateParams.ExpiresAfter.Builder anchor(ClientSecretCreateParams.ExpiresAfter.Anchor anchor)
The anchor point for the client secret expiration, meaning that
seconds
will be added to thecreated_at
time of the client secret to produce an expiration timestamp. Onlycreated_at
is currently supported.
-
anchor
final ClientSecretCreateParams.ExpiresAfter.Builder anchor(JsonField<ClientSecretCreateParams.ExpiresAfter.Anchor> anchor)
Sets Builder.anchor to an arbitrary JSON value.
You should usually call Builder.anchor with a well-typed Anchor value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
seconds
final ClientSecretCreateParams.ExpiresAfter.Builder seconds(Long seconds)
The number of seconds from the anchor point to the expiration. Select a value between
10
and7200
(2 hours). This default to 600 seconds (10 minutes) if not specified.
-
seconds
final ClientSecretCreateParams.ExpiresAfter.Builder seconds(JsonField<Long> seconds)
Sets Builder.seconds to an arbitrary JSON value.
You should usually call Builder.seconds with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ClientSecretCreateParams.ExpiresAfter.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ClientSecretCreateParams.ExpiresAfter.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ClientSecretCreateParams.ExpiresAfter.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ClientSecretCreateParams.ExpiresAfter.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ClientSecretCreateParams.ExpiresAfter.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ClientSecretCreateParams.ExpiresAfter build()
Returns an immutable instance of ExpiresAfter.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-