@Generated(value="software.amazon.awssdk:codegen") public final class ContactInformation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ContactInformation.Builder,ContactInformation>
Contains the details of the primary contact information associated with an Amazon Web Services account.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ContactInformation.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
addressLine1()
The first line of the primary contact address.
|
String |
addressLine2()
The second line of the primary contact address, if any.
|
String |
addressLine3()
The third line of the primary contact address, if any.
|
static ContactInformation.Builder |
builder() |
String |
city()
The city of the primary contact address.
|
String |
companyName()
The name of the company associated with the primary contact information, if any.
|
String |
countryCode()
The ISO-3166 two-letter country code for the primary contact address.
|
String |
districtOrCounty()
The district or county of the primary contact address, if any.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
fullName()
The full name of the primary contact address.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
phoneNumber()
The phone number of the primary contact information.
|
String |
postalCode()
The postal code of the primary contact address.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ContactInformation.Builder> |
serializableBuilderClass() |
String |
stateOrRegion()
The state or region of the primary contact address.
|
ContactInformation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
websiteUrl()
The URL of the website associated with the primary contact information, if any.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String addressLine1()
The first line of the primary contact address.
public final String addressLine2()
The second line of the primary contact address, if any.
public final String addressLine3()
The third line of the primary contact address, if any.
public final String city()
The city of the primary contact address.
public final String companyName()
The name of the company associated with the primary contact information, if any.
public final String countryCode()
The ISO-3166 two-letter country code for the primary contact address.
public final String districtOrCounty()
The district or county of the primary contact address, if any.
public final String fullName()
The full name of the primary contact address.
public final String phoneNumber()
The phone number of the primary contact information. The number will be validated and, in some countries, checked for activation.
public final String postalCode()
The postal code of the primary contact address.
public final String stateOrRegion()
The state or region of the primary contact address. This field is required in selected countries.
public final String websiteUrl()
The URL of the website associated with the primary contact information, if any.
public ContactInformation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ContactInformation.Builder,ContactInformation>public static ContactInformation.Builder builder()
public static Class<? extends ContactInformation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.