Class UserProfileExternalUserDetailsParams.Builder
-
- All Implemented Interfaces:
public final class UserProfileExternalUserDetailsParams.BuilderA builder for UserProfileExternalUserDetailsParams.
-
-
Method Summary
-
-
Method Detail
-
accountStatus
final UserProfileExternalUserDetailsParams.Builder accountStatus(UserProfileExternalUserAccountStatus accountStatus)
The status of the entity's account on the platform:
active,suspendedorblocked.
-
accountStatus
final UserProfileExternalUserDetailsParams.Builder accountStatus(Optional<UserProfileExternalUserAccountStatus> accountStatus)
Alias for calling Builder.accountStatus with
accountStatus.orElse(null).
-
accountStatus
final UserProfileExternalUserDetailsParams.Builder accountStatus(JsonField<UserProfileExternalUserAccountStatus> accountStatus)
Sets Builder.accountStatus to an arbitrary JSON value.
You should usually call Builder.accountStatus with a well-typed UserProfileExternalUserAccountStatus value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
country
final UserProfileExternalUserDetailsParams.Builder country(String country)
The country of the entity (not of the platform), as the platform determines it: an ISO 3166-1 alpha-2 code in upper case, for example
US. Only the form, two uppercase ASCII letters, is checked.
-
country
final UserProfileExternalUserDetailsParams.Builder country(Optional<String> country)
Alias for calling Builder.country with
country.orElse(null).
-
country
final UserProfileExternalUserDetailsParams.Builder country(JsonField<String> country)
Sets Builder.country to an arbitrary JSON value.
You should usually call Builder.country with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
emailHash
final UserProfileExternalUserDetailsParams.Builder emailHash(String emailHash)
A hash of the entity's email address, computed by the platform. Anthropic treats it as an opaque string and does not prescribe the hash function. 1 to 255 characters.
-
emailHash
final UserProfileExternalUserDetailsParams.Builder emailHash(Optional<String> emailHash)
Alias for calling Builder.emailHash with
emailHash.orElse(null).
-
emailHash
final UserProfileExternalUserDetailsParams.Builder emailHash(JsonField<String> emailHash)
Sets Builder.emailHash to an arbitrary JSON value.
You should usually call Builder.emailHash with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
entityType
final UserProfileExternalUserDetailsParams.Builder entityType(UserProfileExternalUserEntityType entityType)
What kind of entity the profile represents:
individual,business,non_profitorgovernment.
-
entityType
final UserProfileExternalUserDetailsParams.Builder entityType(Optional<UserProfileExternalUserEntityType> entityType)
Alias for calling Builder.entityType with
entityType.orElse(null).
-
entityType
final UserProfileExternalUserDetailsParams.Builder entityType(JsonField<UserProfileExternalUserEntityType> entityType)
Sets Builder.entityType to an arbitrary JSON value.
You should usually call Builder.entityType with a well-typed UserProfileExternalUserEntityType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
nameHash
final UserProfileExternalUserDetailsParams.Builder nameHash(String nameHash)
A hash of the entity's name, computed by the platform. Anthropic treats it as an opaque string and does not prescribe the hash function. 1 to 255 characters.
-
nameHash
final UserProfileExternalUserDetailsParams.Builder nameHash(Optional<String> nameHash)
Alias for calling Builder.nameHash with
nameHash.orElse(null).
-
nameHash
final UserProfileExternalUserDetailsParams.Builder nameHash(JsonField<String> nameHash)
Sets Builder.nameHash to an arbitrary JSON value.
You should usually call Builder.nameHash with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
onboardedAt
final UserProfileExternalUserDetailsParams.Builder onboardedAt(OffsetDateTime onboardedAt)
When the entity opened its account with the platform, in RFC 3339 format: for an
applicationprofile, when the end-user signed up; for apassthroughprofile, when the company became the platform's customer. Must be a complete timestamp no more than 1 minute in the future.
-
onboardedAt
final UserProfileExternalUserDetailsParams.Builder onboardedAt(JsonField<OffsetDateTime> onboardedAt)
Sets Builder.onboardedAt to an arbitrary JSON value.
You should usually call Builder.onboardedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
referenceId
final UserProfileExternalUserDetailsParams.Builder referenceId(String referenceId)
The platform's own reference for the entity, for example the key of the end-user's row in the platform's database. Not interpreted by Anthropic and not enforced unique. 1 to 255 characters.
-
referenceId
final UserProfileExternalUserDetailsParams.Builder referenceId(Optional<String> referenceId)
Alias for calling Builder.referenceId with
referenceId.orElse(null).
-
referenceId
final UserProfileExternalUserDetailsParams.Builder referenceId(JsonField<String> referenceId)
Sets Builder.referenceId to an arbitrary JSON value.
You should usually call Builder.referenceId 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 UserProfileExternalUserDetailsParams.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final UserProfileExternalUserDetailsParams.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final UserProfileExternalUserDetailsParams.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final UserProfileExternalUserDetailsParams.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final UserProfileExternalUserDetailsParams.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final UserProfileExternalUserDetailsParams build()
Returns an immutable instance of UserProfileExternalUserDetailsParams.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-