Class Address
- java.lang.Object
-
- software.amazon.awssdk.services.identitystore.model.Address
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Address.Builder,Address>
@Generated("software.amazon.awssdk:codegen") public final class Address extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Address.Builder,Address>
The address associated with the specified user.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAddress.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Address.Builderbuilder()Stringcountry()The country of the address.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringformatted()A string containing a formatted version of the address for display.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringlocality()A string of the address locality.StringpostalCode()The postal code of the address.Booleanprimary()A Boolean value representing whether this is the primary address for the associated resource.Stringregion()The region of the address.List<SdkField<?>>sdkFields()static Class<? extends Address.Builder>serializableBuilderClass()StringstreetAddress()The street of the address.Address.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()A string representing the type of address.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
streetAddress
public final String streetAddress()
The street of the address.
- Returns:
- The street of the address.
-
locality
public final String locality()
A string of the address locality.
- Returns:
- A string of the address locality.
-
region
public final String region()
The region of the address.
- Returns:
- The region of the address.
-
postalCode
public final String postalCode()
The postal code of the address.
- Returns:
- The postal code of the address.
-
country
public final String country()
The country of the address.
- Returns:
- The country of the address.
-
formatted
public final String formatted()
A string containing a formatted version of the address for display.
- Returns:
- A string containing a formatted version of the address for display.
-
type
public final String type()
A string representing the type of address. For example, "Home."
- Returns:
- A string representing the type of address. For example, "Home."
-
primary
public final Boolean primary()
A Boolean value representing whether this is the primary address for the associated resource.
- Returns:
- A Boolean value representing whether this is the primary address for the associated resource.
-
toBuilder
public Address.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Address.Builder,Address>
-
builder
public static Address.Builder builder()
-
serializableBuilderClass
public static Class<? extends Address.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-