Class UserProfileExternalUserDetails.Builder
-
- All Implemented Interfaces:
public final class UserProfileExternalUserDetails.BuilderA builder for UserProfileExternalUserDetails.
-
-
Method Summary
-
-
Method Detail
-
accountStatus
final UserProfileExternalUserDetails.Builder accountStatus(UserProfileExternalUserAccountStatus accountStatus)
The status of the entity's account on the platform:
active,suspendedorblocked.nulluntil the platform supplies one.
-
accountStatus
final UserProfileExternalUserDetails.Builder accountStatus(Optional<UserProfileExternalUserAccountStatus> accountStatus)
Alias for calling Builder.accountStatus with
accountStatus.orElse(null).
-
accountStatus
final UserProfileExternalUserDetails.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 UserProfileExternalUserDetails.Builder country(String country)
The country the platform associates with the entity, as an ISO 3166-1 alpha-2 code.
nulluntil the platform supplies one.
-
country
final UserProfileExternalUserDetails.Builder country(Optional<String> country)
Alias for calling Builder.country with
country.orElse(null).
-
country
final UserProfileExternalUserDetails.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 UserProfileExternalUserDetails.Builder emailHash(String emailHash)
The platform-computed hash of the entity's email address.
nulluntil the platform supplies one.
-
emailHash
final UserProfileExternalUserDetails.Builder emailHash(Optional<String> emailHash)
Alias for calling Builder.emailHash with
emailHash.orElse(null).
-
emailHash
final UserProfileExternalUserDetails.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 UserProfileExternalUserDetails.Builder entityType(UserProfileExternalUserEntityType entityType)
What kind of entity the profile represents:
individual,business,non_profitorgovernment.nulluntil the platform supplies one.
-
entityType
final UserProfileExternalUserDetails.Builder entityType(Optional<UserProfileExternalUserEntityType> entityType)
Alias for calling Builder.entityType with
entityType.orElse(null).
-
entityType
final UserProfileExternalUserDetails.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 UserProfileExternalUserDetails.Builder nameHash(String nameHash)
The platform-computed hash of the entity's name.
nulluntil the platform supplies one.
-
nameHash
final UserProfileExternalUserDetails.Builder nameHash(Optional<String> nameHash)
Alias for calling Builder.nameHash with
nameHash.orElse(null).
-
nameHash
final UserProfileExternalUserDetails.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 UserProfileExternalUserDetails.Builder onboardedAt(OffsetDateTime onboardedAt)
When the entity opened its account with the platform, as stated by the platform, in RFC 3339 format (UTC).
nulluntil the platform supplies one.
-
onboardedAt
final UserProfileExternalUserDetails.Builder onboardedAt(Optional<OffsetDateTime> onboardedAt)
Alias for calling Builder.onboardedAt with
onboardedAt.orElse(null).
-
onboardedAt
final UserProfileExternalUserDetails.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 UserProfileExternalUserDetails.Builder referenceId(String referenceId)
The platform's own reference for the entity.
nulluntil the platform supplies one.
-
referenceId
final UserProfileExternalUserDetails.Builder referenceId(Optional<String> referenceId)
Alias for calling Builder.referenceId with
referenceId.orElse(null).
-
referenceId
final UserProfileExternalUserDetails.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 UserProfileExternalUserDetails.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final UserProfileExternalUserDetails.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final UserProfileExternalUserDetails.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final UserProfileExternalUserDetails.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final UserProfileExternalUserDetails.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final UserProfileExternalUserDetails build()
Returns an immutable instance of UserProfileExternalUserDetails.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.accountStatus() .country() .emailHash() .entityType() .nameHash() .onboardedAt() .referenceId()
-
-
-
-