Class Address
java.lang.Object
software.amazon.awssdk.services.chime.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>
A validated address.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Address.Builderbuilder()final Stringcity()The city of an address.final Stringcountry()The country of an address.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 an address.final StringThe Zip + 4 or postal code + 4 of an address.final StringAn address suffix location, such as theS.final StringAn address prefix location, such as theNinN.static Class<? extends Address.Builder> final Stringstate()The state of an address.final StringThe address street, such as8th Avenue.final StringThe numeric portion of an address.final StringThe address suffix, such as theNin8th Avenue N.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
-
streetName
The address street, such as
8th Avenue.- Returns:
- The address street, such as
8th Avenue.
-
streetSuffix
The address suffix, such as the
Nin8th Avenue N.- Returns:
- The address suffix, such as the
Nin8th Avenue N.
-
postDirectional
An address suffix location, such as the
S. Unit AinCentral Park S. Unit A.- Returns:
- An address suffix location, such as the
S. Unit AinCentral Park S. Unit A.
-
preDirectional
An address prefix location, such as the
NinN. Third St..- Returns:
- An address prefix location, such as the
NinN. Third St..
-
streetNumber
The numeric portion of an address.
- Returns:
- The numeric portion of an address.
-
city
-
state
-
postalCode
The postal code of an address.
- Returns:
- The postal code of an address.
-
postalCodePlus4
The Zip + 4 or postal code + 4 of an address.
- Returns:
- The Zip + 4 or postal code + 4 of an address.
-
country
-
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<Address.Builder,Address> - 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
-