Class CredentialUpdateParams.Body.Builder
-
- All Implemented Interfaces:
public final class CredentialUpdateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
auth
final CredentialUpdateParams.Body.Builder auth(CredentialUpdateParams.Auth auth)
Updated authentication details for a credential.
-
auth
final CredentialUpdateParams.Body.Builder auth(JsonField<CredentialUpdateParams.Auth> auth)
Sets Builder.auth to an arbitrary JSON value.
You should usually call Builder.auth with a well-typed Auth value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
auth
final CredentialUpdateParams.Body.Builder auth(BetaManagedAgentsMcpOAuthUpdateParams mcpOAuth)
Alias for calling auth with
Auth.ofMcpOAuth(mcpOAuth).
-
auth
final CredentialUpdateParams.Body.Builder auth(BetaManagedAgentsStaticBearerUpdateParams staticBearer)
Alias for calling auth with
Auth.ofStaticBearer(staticBearer).
-
auth
final CredentialUpdateParams.Body.Builder auth(BetaManagedAgentsEnvironmentVariableUpdateParams environmentVariable)
Alias for calling auth with
Auth.ofEnvironmentVariable(environmentVariable).
-
displayName
final CredentialUpdateParams.Body.Builder displayName(String displayName)
Updated human-readable name for the credential. 1-255 characters.
-
displayName
final CredentialUpdateParams.Body.Builder displayName(Optional<String> displayName)
Alias for calling Builder.displayName with
displayName.orElse(null).
-
displayName
final CredentialUpdateParams.Body.Builder displayName(JsonField<String> displayName)
Sets Builder.displayName to an arbitrary JSON value.
You should usually call Builder.displayName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final CredentialUpdateParams.Body.Builder metadata(CredentialUpdateParams.Metadata metadata)
Metadata patch. Set a key to a string to upsert it, or to null to delete it. Omitted keys are preserved.
-
metadata
final CredentialUpdateParams.Body.Builder metadata(Optional<CredentialUpdateParams.Metadata> metadata)
Alias for calling Builder.metadata with
metadata.orElse(null).
-
metadata
final CredentialUpdateParams.Body.Builder metadata(JsonField<CredentialUpdateParams.Metadata> metadata)
Sets Builder.metadata to an arbitrary JSON value.
You should usually call Builder.metadata with a well-typed Metadata value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final CredentialUpdateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final CredentialUpdateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final CredentialUpdateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final CredentialUpdateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final CredentialUpdateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final CredentialUpdateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-