Class UpdateAddress
- java.lang.Object
-
- software.amazon.awssdk.services.customerprofiles.model.UpdateAddress
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UpdateAddress.Builder,UpdateAddress>
@Generated("software.amazon.awssdk:codegen") public final class UpdateAddress extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UpdateAddress.Builder,UpdateAddress>
Updates associated with the address properties of a customer profile.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateAddress.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringaddress1()The first line of a customer address.Stringaddress2()The second line of a customer address.Stringaddress3()The third line of a customer address.Stringaddress4()The fourth line of a customer address.static UpdateAddress.Builderbuilder()Stringcity()The city in which a customer lives.Stringcountry()The country in which a customer lives.Stringcounty()The county in which a customer lives.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringpostalCode()The postal code of a customer address.Stringprovince()The province in which a customer lives.List<SdkField<?>>sdkFields()static Class<? extends UpdateAddress.Builder>serializableBuilderClass()Stringstate()The state in which a customer lives.UpdateAddress.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
address1
public final String address1()
The first line of a customer address.
- Returns:
- The first line of a customer address.
-
address2
public final String address2()
The second line of a customer address.
- Returns:
- The second line of a customer address.
-
address3
public final String address3()
The third line of a customer address.
- Returns:
- The third line of a customer address.
-
address4
public final String address4()
The fourth line of a customer address.
- Returns:
- The fourth line of a customer address.
-
city
public final String city()
The city in which a customer lives.
- Returns:
- The city in which a customer lives.
-
county
public final String county()
The county in which a customer lives.
- Returns:
- The county in which a customer lives.
-
state
public final String state()
The state in which a customer lives.
- Returns:
- The state in which a customer lives.
-
province
public final String province()
The province in which a customer lives.
- Returns:
- The province in which a customer lives.
-
country
public final String country()
The country in which a customer lives.
- Returns:
- The country in which a customer lives.
-
postalCode
public final String postalCode()
The postal code of a customer address.
- Returns:
- The postal code of a customer address.
-
toBuilder
public UpdateAddress.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateAddress.Builder,UpdateAddress>
-
builder
public static UpdateAddress.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateAddress.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.
-
-