Class UserProfileUpdateParams.Builder
-
- All Implemented Interfaces:
public final class UserProfileUpdateParams.BuilderA builder for UserProfileUpdateParams.
-
-
Method Summary
-
-
Method Detail
-
userProfileId
final UserProfileUpdateParams.Builder userProfileId(String userProfileId)
The ID of the user profile to update (
uprof_...).
-
userProfileId
final UserProfileUpdateParams.Builder userProfileId(Optional<String> userProfileId)
Alias for calling Builder.userProfileId with
userProfileId.orElse(null).
-
workspaceId
final UserProfileUpdateParams.Builder workspaceId(String workspaceId)
Optional header to select the Workspace for this request. The value is a Workspace ID (for example,
wrkspc_011CZkZaBF1tNoB5wlCeusgy).Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
-
workspaceId
final UserProfileUpdateParams.Builder workspaceId(Optional<String> workspaceId)
Alias for calling Builder.workspaceId with
workspaceId.orElse(null).
-
body
final UserProfileUpdateParams.Builder body(UserProfileUpdateParams.Body body)
Sets the entire request body.
This is generally only useful if you are already constructing the body separately. Otherwise, it's more convenient to use the top-level setters instead:
-
additionalHeaders
final UserProfileUpdateParams.Builder additionalHeaders(Headers additionalHeaders)
-
additionalHeaders
final UserProfileUpdateParams.Builder additionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
additionalQueryParams
final UserProfileUpdateParams.Builder additionalQueryParams(QueryParams additionalQueryParams)
-
additionalQueryParams
final UserProfileUpdateParams.Builder additionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
accessType
final UserProfileUpdateParams.Builder accessType(UserProfileAccessType accessType)
If present, replaces the stored access type. Omit to leave unchanged.
-
accessType
final UserProfileUpdateParams.Builder accessType(Optional<UserProfileAccessType> accessType)
Alias for calling Builder.accessType with
accessType.orElse(null).
-
accessType
final UserProfileUpdateParams.Builder accessType(JsonField<UserProfileAccessType> accessType)
Sets Builder.accessType to an arbitrary JSON value.
You should usually call Builder.accessType with a well-typed UserProfileAccessType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
externalUserDetails
final UserProfileUpdateParams.Builder externalUserDetails(UserProfileExternalUserDetailsParams externalUserDetails)
Details about the entity this profile represents, as the platform states them. Each field sent replaces the stored value; omit a field to leave it unchanged. Once set, a value cannot be cleared and
nullis rejected. Not accepted under the legacyuser-profiles-2026-03-24anduser-profiles-2026-08-18beta headers.
-
externalUserDetails
final UserProfileUpdateParams.Builder externalUserDetails(JsonField<UserProfileExternalUserDetailsParams> externalUserDetails)
Sets Builder.externalUserDetails to an arbitrary JSON value.
You should usually call Builder.externalUserDetails with a well-typed UserProfileExternalUserDetailsParams value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final UserProfileUpdateParams.Builder metadata(UserProfileUpdateParams.Metadata metadata)
Key-value pairs to merge into the stored metadata. Keys provided overwrite existing values. To remove a key, set its value to an empty string. Keys not provided are left unchanged. Maximum 16 keys, with keys up to 64 characters and values up to 512 characters.
-
metadata
final UserProfileUpdateParams.Builder metadata(JsonField<UserProfileUpdateParams.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.
-
name
final UserProfileUpdateParams.Builder name(String name)
If present, replaces the stored name. Omit to leave unchanged. Maximum 255 characters.
-
name
final UserProfileUpdateParams.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
name
final UserProfileUpdateParams.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.
-
additionalBodyProperties
final UserProfileUpdateParams.Builder additionalBodyProperties(Map<String, JsonValue> additionalBodyProperties)
-
putAdditionalBodyProperty
final UserProfileUpdateParams.Builder putAdditionalBodyProperty(String key, JsonValue value)
-
putAllAdditionalBodyProperties
final UserProfileUpdateParams.Builder putAllAdditionalBodyProperties(Map<String, JsonValue> additionalBodyProperties)
-
removeAdditionalBodyProperty
final UserProfileUpdateParams.Builder removeAdditionalBodyProperty(String key)
-
removeAllAdditionalBodyProperties
final UserProfileUpdateParams.Builder removeAllAdditionalBodyProperties(Set<String> keys)
-
putAdditionalHeader
final UserProfileUpdateParams.Builder putAdditionalHeader(String name, String value)
-
putAdditionalHeaders
final UserProfileUpdateParams.Builder putAdditionalHeaders(String name, Iterable<String> values)
-
putAllAdditionalHeaders
final UserProfileUpdateParams.Builder putAllAdditionalHeaders(Headers additionalHeaders)
-
putAllAdditionalHeaders
final UserProfileUpdateParams.Builder putAllAdditionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
replaceAdditionalHeaders
final UserProfileUpdateParams.Builder replaceAdditionalHeaders(String name, String value)
-
replaceAdditionalHeaders
final UserProfileUpdateParams.Builder replaceAdditionalHeaders(String name, Iterable<String> values)
-
replaceAllAdditionalHeaders
final UserProfileUpdateParams.Builder replaceAllAdditionalHeaders(Headers additionalHeaders)
-
replaceAllAdditionalHeaders
final UserProfileUpdateParams.Builder replaceAllAdditionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
removeAdditionalHeaders
final UserProfileUpdateParams.Builder removeAdditionalHeaders(String name)
-
removeAllAdditionalHeaders
final UserProfileUpdateParams.Builder removeAllAdditionalHeaders(Set<String> names)
-
putAdditionalQueryParam
final UserProfileUpdateParams.Builder putAdditionalQueryParam(String key, String value)
-
putAdditionalQueryParams
final UserProfileUpdateParams.Builder putAdditionalQueryParams(String key, Iterable<String> values)
-
putAllAdditionalQueryParams
final UserProfileUpdateParams.Builder putAllAdditionalQueryParams(QueryParams additionalQueryParams)
-
putAllAdditionalQueryParams
final UserProfileUpdateParams.Builder putAllAdditionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
replaceAdditionalQueryParams
final UserProfileUpdateParams.Builder replaceAdditionalQueryParams(String key, String value)
-
replaceAdditionalQueryParams
final UserProfileUpdateParams.Builder replaceAdditionalQueryParams(String key, Iterable<String> values)
-
replaceAllAdditionalQueryParams
final UserProfileUpdateParams.Builder replaceAllAdditionalQueryParams(QueryParams additionalQueryParams)
-
replaceAllAdditionalQueryParams
final UserProfileUpdateParams.Builder replaceAllAdditionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
removeAdditionalQueryParams
final UserProfileUpdateParams.Builder removeAdditionalQueryParams(String key)
-
removeAllAdditionalQueryParams
final UserProfileUpdateParams.Builder removeAllAdditionalQueryParams(Set<String> keys)
-
build
final UserProfileUpdateParams build()
Returns an immutable instance of UserProfileUpdateParams.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-