Class CandidateAddress
- java.lang.Object
-
- software.amazon.awssdk.services.chimesdkvoice.model.CandidateAddress
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CandidateAddress.Builder,CandidateAddress>
@Generated("software.amazon.awssdk:codegen") public final class CandidateAddress extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CandidateAddress.Builder,CandidateAddress>
A suggested address.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCandidateAddress.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CandidateAddress.Builderbuilder()Stringcity()The city of the candidate address.Stringcountry()The country of the candidate address.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringpostalCode()The postal code of the candidate address.StringpostalCodePlus4()The zip + 4 or postal code +4 of the candidate address.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CandidateAddress.Builder>serializableBuilderClass()Stringstate()The state of the candidate address.StringstreetInfo()The street information of the candidate address.StringstreetNumber()The numeric portion of the candidate address.CandidateAddress.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
-
streetInfo
public final String streetInfo()
The street information of the candidate address.
- Returns:
- The street information of the candidate address.
-
streetNumber
public final String streetNumber()
The numeric portion of the candidate address.
- Returns:
- The numeric portion of the candidate address.
-
city
public final String city()
The city of the candidate address.
- Returns:
- The city of the candidate address.
-
state
public final String state()
The state of the candidate address.
- Returns:
- The state of the candidate address.
-
postalCode
public final String postalCode()
The postal code of the candidate address.
- Returns:
- The postal code of the candidate address.
-
postalCodePlus4
public final String postalCodePlus4()
The zip + 4 or postal code +4 of the candidate address.
- Returns:
- The zip + 4 or postal code +4 of the candidate address.
-
country
public final String country()
The country of the candidate address.
- Returns:
- The country of the candidate address.
-
toBuilder
public CandidateAddress.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CandidateAddress.Builder,CandidateAddress>
-
builder
public static CandidateAddress.Builder builder()
-
serializableBuilderClass
public static Class<? extends CandidateAddress.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-