Class UserProfileUpdateParams.Body.Builder
-
- All Implemented Interfaces:
public final class UserProfileUpdateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
accessType
final UserProfileUpdateParams.Body.Builder accessType(UserProfileUpdateParams.AccessType accessType)
If present, replaces the stored access type. Omit to leave unchanged.
-
accessType
final UserProfileUpdateParams.Body.Builder accessType(Optional<UserProfileUpdateParams.AccessType> accessType)
Alias for calling Builder.accessType with
accessType.orElse(null).
-
accessType
final UserProfileUpdateParams.Body.Builder accessType(JsonField<UserProfileUpdateParams.AccessType> accessType)
Sets Builder.accessType to an arbitrary JSON value.
You should usually call Builder.accessType with a well-typed AccessType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
externalId
final UserProfileUpdateParams.Body.Builder externalId(String externalId)
If present, replaces the stored external_id. Omit to leave unchanged. Maximum 255 characters. Legacy field, accepted only under the
user-profiles-2026-03-24anduser-profiles-2026-08-18beta headers; without one of them, sendexternal_user_details.reference_id.
-
externalId
final UserProfileUpdateParams.Body.Builder externalId(Optional<String> externalId)
Alias for calling Builder.externalId with
externalId.orElse(null).
-
externalId
final UserProfileUpdateParams.Body.Builder externalId(JsonField<String> externalId)
Sets Builder.externalId to an arbitrary JSON value.
You should usually call Builder.externalId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
externalUserDetails
final UserProfileUpdateParams.Body.Builder externalUserDetails(BetaUserProfileExternalUserDetailsParams 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.Body.Builder externalUserDetails(JsonField<BetaUserProfileExternalUserDetailsParams> externalUserDetails)
Sets Builder.externalUserDetails to an arbitrary JSON value.
You should usually call Builder.externalUserDetails with a well-typed BetaUserProfileExternalUserDetailsParams value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
externalUserOnboardedAt
final UserProfileUpdateParams.Body.Builder externalUserOnboardedAt(OffsetDateTime externalUserOnboardedAt)
If present, replaces the stored account creation time. Omit to leave unchanged; once set, the value cannot be cleared and
nullis rejected. Must be a complete RFC 3339 timestamp no more than 1 minute in the future. Legacy field, accepted only under theuser-profiles-2026-08-18beta header; without a legacy header, sendexternal_user_details.onboarded_at.
-
externalUserOnboardedAt
final UserProfileUpdateParams.Body.Builder externalUserOnboardedAt(JsonField<OffsetDateTime> externalUserOnboardedAt)
Sets Builder.externalUserOnboardedAt to an arbitrary JSON value.
You should usually call Builder.externalUserOnboardedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final UserProfileUpdateParams.Body.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.Body.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.Body.Builder name(String name)
If present, replaces the stored name. Omit to leave unchanged. Maximum 255 characters.
-
name
final UserProfileUpdateParams.Body.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
name
final UserProfileUpdateParams.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 UserProfileUpdateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final UserProfileUpdateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final UserProfileUpdateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final UserProfileUpdateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final UserProfileUpdateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final UserProfileUpdateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-