Class UserProfile.Address.Builder
-
- All Implemented Interfaces:
public final class UserProfile.Address.BuilderA builder for Address.
-
-
Method Summary
-
-
Method Detail
-
country
final UserProfile.Address.Builder country(String country)
-
country
final UserProfile.Address.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.
-
formatted
final UserProfile.Address.Builder formatted(String formatted)
-
formatted
final UserProfile.Address.Builder formatted(JsonField<String> formatted)
Sets Builder.formatted to an arbitrary JSON value.
You should usually call Builder.formatted with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
locality
final UserProfile.Address.Builder locality(String locality)
-
locality
final UserProfile.Address.Builder locality(JsonField<String> locality)
Sets Builder.locality to an arbitrary JSON value.
You should usually call Builder.locality with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
postalCode
final UserProfile.Address.Builder postalCode(String postalCode)
-
postalCode
final UserProfile.Address.Builder postalCode(JsonField<String> postalCode)
Sets Builder.postalCode to an arbitrary JSON value.
You should usually call Builder.postalCode with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
region
final UserProfile.Address.Builder region(String region)
-
region
final UserProfile.Address.Builder region(JsonField<String> region)
Sets Builder.region to an arbitrary JSON value.
You should usually call Builder.region with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
streetAddress
final UserProfile.Address.Builder streetAddress(String streetAddress)
-
streetAddress
final UserProfile.Address.Builder streetAddress(JsonField<String> streetAddress)
Sets Builder.streetAddress to an arbitrary JSON value.
You should usually call Builder.streetAddress 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 UserProfile.Address.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final UserProfile.Address.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final UserProfile.Address.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final UserProfile.Address.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final UserProfile.Address.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final UserProfile.Address build()
Returns an immutable instance of Address.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.country() .formatted() .locality() .postalCode() .region() .streetAddress()
-
-
-
-