Class BetaManagedAgentsTokenEndpointAuthBasicUpdateParam.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsTokenEndpointAuthBasicUpdateParam.BuilderA builder for BetaManagedAgentsTokenEndpointAuthBasicUpdateParam.
-
-
Method Summary
-
-
Method Detail
-
type
final BetaManagedAgentsTokenEndpointAuthBasicUpdateParam.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("client_secret_basic")This method is primarily for setting the field to an undocumented or not yet supported value.
-
clientSecret
final BetaManagedAgentsTokenEndpointAuthBasicUpdateParam.Builder clientSecret(String clientSecret)
A new OAuth client secret to replace the stored one.
The credential must already use
client_secret_basicorclient_secret_post. It keeps its currenttoken_endpoint_authtype, even if thetypesent with this secret is the other one.
-
clientSecret
final BetaManagedAgentsTokenEndpointAuthBasicUpdateParam.Builder clientSecret(Optional<String> clientSecret)
Alias for calling Builder.clientSecret with
clientSecret.orElse(null).
-
clientSecret
final BetaManagedAgentsTokenEndpointAuthBasicUpdateParam.Builder clientSecret(JsonField<String> clientSecret)
Sets Builder.clientSecret to an arbitrary JSON value.
You should usually call Builder.clientSecret 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 BetaManagedAgentsTokenEndpointAuthBasicUpdateParam.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsTokenEndpointAuthBasicUpdateParam.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsTokenEndpointAuthBasicUpdateParam.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsTokenEndpointAuthBasicUpdateParam.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsTokenEndpointAuthBasicUpdateParam.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsTokenEndpointAuthBasicUpdateParam build()
Returns an immutable instance of BetaManagedAgentsTokenEndpointAuthBasicUpdateParam.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-