Class WireAddress.Builder
-
- All Implemented Interfaces:
public final class WireAddress.BuilderA builder for WireAddress.
-
-
Method Summary
-
-
Method Detail
-
city
final WireAddress.Builder city(String city)
City
-
city
final WireAddress.Builder city(JsonField<String> city)
Sets Builder.city to an arbitrary JSON value.
You should usually call Builder.city with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
countryCode
final WireAddress.Builder countryCode(String countryCode)
ISO 3166-1 alpha-2 country code
-
countryCode
final WireAddress.Builder countryCode(JsonField<String> countryCode)
Sets Builder.countryCode to an arbitrary JSON value.
You should usually call Builder.countryCode with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
street1
final WireAddress.Builder street1(String street1)
Street address line 1
-
street1
final WireAddress.Builder street1(JsonField<String> street1)
Sets Builder.street1 to an arbitrary JSON value.
You should usually call Builder.street1 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 WireAddress.Builder postalCode(String postalCode)
Postal code
-
postalCode
final WireAddress.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.
-
state
final WireAddress.Builder state(String state)
State or province
-
state
final WireAddress.Builder state(JsonField<String> state)
Sets Builder.state to an arbitrary JSON value.
You should usually call Builder.state with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
street2
final WireAddress.Builder street2(String street2)
Street address line 2
-
street2
final WireAddress.Builder street2(JsonField<String> street2)
Sets Builder.street2 to an arbitrary JSON value.
You should usually call Builder.street2 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 WireAddress.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final WireAddress.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final WireAddress.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final WireAddress.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final WireAddress.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final WireAddress build()
Returns an immutable instance of WireAddress.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.city() .countryCode() .street1()
-
-
-
-