Class BetaUserProfileExternalUserDetails.Builder
-
- All Implemented Interfaces:
public final class BetaUserProfileExternalUserDetails.BuilderA builder for BetaUserProfileExternalUserDetails.
-
-
Method Summary
-
-
Method Detail
-
accountStatus
final BetaUserProfileExternalUserDetails.Builder accountStatus(BetaUserProfileExternalUserDetails.AccountStatus accountStatus)
The status of the entity's account on the platform:
active,suspendedorblocked.nulluntil the platform supplies one.
-
accountStatus
final BetaUserProfileExternalUserDetails.Builder accountStatus(Optional<BetaUserProfileExternalUserDetails.AccountStatus> accountStatus)
Alias for calling Builder.accountStatus with
accountStatus.orElse(null).
-
accountStatus
final BetaUserProfileExternalUserDetails.Builder accountStatus(JsonField<BetaUserProfileExternalUserDetails.AccountStatus> accountStatus)
Sets Builder.accountStatus to an arbitrary JSON value.
You should usually call Builder.accountStatus with a well-typed AccountStatus value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
country
final BetaUserProfileExternalUserDetails.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 BetaUserProfileExternalUserDetails.Builder country(Optional<String> country)
Alias for calling Builder.country with
country.orElse(null).
-
country
final BetaUserProfileExternalUserDetails.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 BetaUserProfileExternalUserDetails.Builder emailHash(String emailHash)
The platform-computed hash of the entity's email address.
nulluntil the platform supplies one.
-
emailHash
final BetaUserProfileExternalUserDetails.Builder emailHash(Optional<String> emailHash)
Alias for calling Builder.emailHash with
emailHash.orElse(null).
-
emailHash
final BetaUserProfileExternalUserDetails.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 BetaUserProfileExternalUserDetails.Builder entityType(BetaUserProfileExternalUserDetails.EntityType entityType)
What kind of entity the profile represents:
individual,business,non_profitorgovernment.nulluntil the platform supplies one.
-
entityType
final BetaUserProfileExternalUserDetails.Builder entityType(Optional<BetaUserProfileExternalUserDetails.EntityType> entityType)
Alias for calling Builder.entityType with
entityType.orElse(null).
-
entityType
final BetaUserProfileExternalUserDetails.Builder entityType(JsonField<BetaUserProfileExternalUserDetails.EntityType> entityType)
Sets Builder.entityType to an arbitrary JSON value.
You should usually call Builder.entityType with a well-typed EntityType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
nameHash
final BetaUserProfileExternalUserDetails.Builder nameHash(String nameHash)
The platform-computed hash of the entity's name.
nulluntil the platform supplies one.
-
nameHash
final BetaUserProfileExternalUserDetails.Builder nameHash(Optional<String> nameHash)
Alias for calling Builder.nameHash with
nameHash.orElse(null).
-
nameHash
final BetaUserProfileExternalUserDetails.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 BetaUserProfileExternalUserDetails.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 BetaUserProfileExternalUserDetails.Builder onboardedAt(Optional<OffsetDateTime> onboardedAt)
Alias for calling Builder.onboardedAt with
onboardedAt.orElse(null).
-
onboardedAt
final BetaUserProfileExternalUserDetails.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 BetaUserProfileExternalUserDetails.Builder referenceId(String referenceId)
The platform's own reference for the entity.
nulluntil the platform supplies one.
-
referenceId
final BetaUserProfileExternalUserDetails.Builder referenceId(Optional<String> referenceId)
Alias for calling Builder.referenceId with
referenceId.orElse(null).
-
referenceId
final BetaUserProfileExternalUserDetails.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 BetaUserProfileExternalUserDetails.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaUserProfileExternalUserDetails.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaUserProfileExternalUserDetails.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaUserProfileExternalUserDetails.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaUserProfileExternalUserDetails.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaUserProfileExternalUserDetails build()
Returns an immutable instance of BetaUserProfileExternalUserDetails.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.accountStatus() .country() .emailHash() .entityType() .nameHash() .onboardedAt() .referenceId()
-
-
-
-