Class ContactLocation.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.types.ContactLocation.Builder
-
- Enclosing class:
- ContactLocation
public static final class ContactLocation.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContactLocationbuild()ContactLocation.Buildercity(java.lang.String city)ContactLocation.Buildercity(java.util.Optional<java.lang.String> city)The city that the contact is located inContactLocation.Buildercountry(java.lang.String country)ContactLocation.Buildercountry(java.util.Optional<java.lang.String> country)The country that the contact is located inContactLocation.Builderfrom(ContactLocation other)ContactLocation.Builderregion(java.lang.String region)ContactLocation.Builderregion(java.util.Optional<java.lang.String> region)The overal region that the contact is located inContactLocation.Buildertype(java.lang.String type)ContactLocation.Buildertype(java.util.Optional<java.lang.String> type)Always location
-
-
-
Method Detail
-
from
public ContactLocation.Builder from(ContactLocation other)
-
type
public ContactLocation.Builder type(java.util.Optional<java.lang.String> type)
Always location
-
type
public ContactLocation.Builder type(java.lang.String type)
-
country
public ContactLocation.Builder country(java.util.Optional<java.lang.String> country)
The country that the contact is located in
-
country
public ContactLocation.Builder country(java.lang.String country)
-
region
public ContactLocation.Builder region(java.util.Optional<java.lang.String> region)
The overal region that the contact is located in
-
region
public ContactLocation.Builder region(java.lang.String region)
-
city
public ContactLocation.Builder city(java.util.Optional<java.lang.String> city)
The city that the contact is located in
-
city
public ContactLocation.Builder city(java.lang.String city)
-
build
public ContactLocation build()
-
-