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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringaddress1()The first line of a customer address.final Stringaddress2()The second line of a customer address.final Stringaddress3()The third line of a customer address.final Stringaddress4()The fourth line of a customer address.static UpdateAddress.Builderbuilder()final Stringcity()The city in which a customer lives.final Stringcountry()The country in which a customer lives.final Stringcounty()The county in which a customer lives.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe postal code of a customer address.final Stringprovince()The province in which a customer lives.static Class<? extends UpdateAddress.Builder> final Stringstate()The state in which a customer lives.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
address1
The first line of a customer address.
- Returns:
- The first line of a customer address.
-
address2
The second line of a customer address.
- Returns:
- The second line of a customer address.
-
address3
The third line of a customer address.
- Returns:
- The third line of a customer address.
-
address4
The fourth line of a customer address.
- Returns:
- The fourth line of a customer address.
-
city
The city in which a customer lives.
- Returns:
- The city in which a customer lives.
-
county
The county in which a customer lives.
- Returns:
- The county in which a customer lives.
-
state
The state in which a customer lives.
- Returns:
- The state in which a customer lives.
-
province
The province in which a customer lives.
- Returns:
- The province in which a customer lives.
-
country
The country in which a customer lives.
- Returns:
- The country in which a customer lives.
-
postalCode
The postal code of a customer address.
- Returns:
- The postal code of a customer address.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateAddress.Builder,UpdateAddress> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-