Class Address
- java.lang.Object
-
- software.amazon.awssdk.services.partnercentralselling.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>
Specifies the end
Customer's address details associated with theOpportunity.- 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()Stringcity()Specifies the endCustomer's city associated with theOpportunity.CountryCodecountryCode()Specifies the endCustomer's country associated with theOpportunity.StringcountryCodeAsString()Specifies the endCustomer's country associated with theOpportunity.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringpostalCode()Specifies the endCustomer's postal code associated with theOpportunity.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Address.Builder>serializableBuilderClass()StringstateOrRegion()Specifies the endCustomer's state or region associated with theOpportunity.StringstreetAddress()Specifies the endCustomer's street address associated with theOpportunity.Address.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
-
city
public final String city()
Specifies the end
Customer's city associated with theOpportunity.- Returns:
- Specifies the end
Customer's city associated with theOpportunity.
-
countryCode
public final CountryCode countryCode()
Specifies the end
Customer's country associated with theOpportunity.If the service returns an enum value that is not available in the current SDK version,
countryCodewill returnCountryCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcountryCodeAsString().- Returns:
- Specifies the end
Customer's country associated with theOpportunity. - See Also:
CountryCode
-
countryCodeAsString
public final String countryCodeAsString()
Specifies the end
Customer's country associated with theOpportunity.If the service returns an enum value that is not available in the current SDK version,
countryCodewill returnCountryCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcountryCodeAsString().- Returns:
- Specifies the end
Customer's country associated with theOpportunity. - See Also:
CountryCode
-
postalCode
public final String postalCode()
Specifies the end
Customer's postal code associated with theOpportunity.- Returns:
- Specifies the end
Customer's postal code associated with theOpportunity.
-
stateOrRegion
public final String stateOrRegion()
Specifies the end
Customer's state or region associated with theOpportunity.Valid values:
Alabama | Alaska | American Samoa | Arizona | Arkansas | California | Colorado | Connecticut | Delaware | Dist. of Columbia | Federated States of Micronesia | Florida | Georgia | Guam | Hawaii | Idaho | Illinois | Indiana | Iowa | Kansas | Kentucky | Louisiana | Maine | Marshall Islands | Maryland | Massachusetts | Michigan | Minnesota | Mississippi | Missouri | Montana | Nebraska | Nevada | New Hampshire | New Jersey | New Mexico | New York | North Carolina | North Dakota | Northern Mariana Islands | Ohio | Oklahoma | Oregon | Palau | Pennsylvania | Puerto Rico | Rhode Island | South Carolina | South Dakota | Tennessee | Texas | Utah | Vermont | Virginia | Virgin Islands | Washington | West Virginia | Wisconsin | Wyoming | APO/AE | AFO/FPO | FPO, AP- Returns:
- Specifies the end
Customer's state or region associated with theOpportunity.Valid values:
Alabama | Alaska | American Samoa | Arizona | Arkansas | California | Colorado | Connecticut | Delaware | Dist. of Columbia | Federated States of Micronesia | Florida | Georgia | Guam | Hawaii | Idaho | Illinois | Indiana | Iowa | Kansas | Kentucky | Louisiana | Maine | Marshall Islands | Maryland | Massachusetts | Michigan | Minnesota | Mississippi | Missouri | Montana | Nebraska | Nevada | New Hampshire | New Jersey | New Mexico | New York | North Carolina | North Dakota | Northern Mariana Islands | Ohio | Oklahoma | Oregon | Palau | Pennsylvania | Puerto Rico | Rhode Island | South Carolina | South Dakota | Tennessee | Texas | Utah | Vermont | Virginia | Virgin Islands | Washington | West Virginia | Wisconsin | Wyoming | APO/AE | AFO/FPO | FPO, AP
-
streetAddress
public final String streetAddress()
Specifies the end
Customer's street address associated with theOpportunity.- Returns:
- Specifies the end
Customer's street address associated with theOpportunity.
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-