@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Address extends Object implements Serializable, Cloneable, StructuredPojo
The details of the address associated with the TRN information.
Constructor and Description |
---|
Address() |
Modifier and Type | Method and Description |
---|---|
Address |
clone() |
boolean |
equals(Object obj) |
String |
getAddressLine1()
The first line of the address.
|
String |
getAddressLine2()
The second line of the address, if applicable.
|
String |
getAddressLine3()
The third line of the address, if applicable.
|
String |
getCity()
The city that the address is in.
|
String |
getCountryCode()
The country code for the country that the address is in.
|
String |
getDistrictOrCounty()
The district or county the address is located.
|
String |
getPostalCode()
The postal code associated with the address.
|
String |
getStateOrRegion()
The state, region, or province that the address is located.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAddressLine1(String addressLine1)
The first line of the address.
|
void |
setAddressLine2(String addressLine2)
The second line of the address, if applicable.
|
void |
setAddressLine3(String addressLine3)
The third line of the address, if applicable.
|
void |
setCity(String city)
The city that the address is in.
|
void |
setCountryCode(String countryCode)
The country code for the country that the address is in.
|
void |
setDistrictOrCounty(String districtOrCounty)
The district or county the address is located.
|
void |
setPostalCode(String postalCode)
The postal code associated with the address.
|
void |
setStateOrRegion(String stateOrRegion)
The state, region, or province that the address is located.
|
String |
toString()
Returns a string representation of this object.
|
Address |
withAddressLine1(String addressLine1)
The first line of the address.
|
Address |
withAddressLine2(String addressLine2)
The second line of the address, if applicable.
|
Address |
withAddressLine3(String addressLine3)
The third line of the address, if applicable.
|
Address |
withCity(String city)
The city that the address is in.
|
Address |
withCountryCode(String countryCode)
The country code for the country that the address is in.
|
Address |
withDistrictOrCounty(String districtOrCounty)
The district or county the address is located.
|
Address |
withPostalCode(String postalCode)
The postal code associated with the address.
|
Address |
withStateOrRegion(String stateOrRegion)
The state, region, or province that the address is located.
|
public void setAddressLine1(String addressLine1)
The first line of the address.
addressLine1
- The first line of the address.public String getAddressLine1()
The first line of the address.
public Address withAddressLine1(String addressLine1)
The first line of the address.
addressLine1
- The first line of the address.public void setAddressLine2(String addressLine2)
The second line of the address, if applicable.
addressLine2
- The second line of the address, if applicable.public String getAddressLine2()
The second line of the address, if applicable.
public Address withAddressLine2(String addressLine2)
The second line of the address, if applicable.
addressLine2
- The second line of the address, if applicable.public void setAddressLine3(String addressLine3)
The third line of the address, if applicable. Currently, the Tax Settings API accepts the
addressLine3
parameter only for Saudi Arabia. When you specify a TRN in Saudi Arabia, you must enter
the addressLine3
and specify the building number for the address. For example, you might enter
1234
.
addressLine3
- The third line of the address, if applicable. Currently, the Tax Settings API accepts the
addressLine3
parameter only for Saudi Arabia. When you specify a TRN in Saudi Arabia, you
must enter the addressLine3
and specify the building number for the address. For example, you
might enter 1234
.public String getAddressLine3()
The third line of the address, if applicable. Currently, the Tax Settings API accepts the
addressLine3
parameter only for Saudi Arabia. When you specify a TRN in Saudi Arabia, you must enter
the addressLine3
and specify the building number for the address. For example, you might enter
1234
.
addressLine3
parameter only for Saudi Arabia. When you specify a TRN in Saudi Arabia, you
must enter the addressLine3
and specify the building number for the address. For example,
you might enter 1234
.public Address withAddressLine3(String addressLine3)
The third line of the address, if applicable. Currently, the Tax Settings API accepts the
addressLine3
parameter only for Saudi Arabia. When you specify a TRN in Saudi Arabia, you must enter
the addressLine3
and specify the building number for the address. For example, you might enter
1234
.
addressLine3
- The third line of the address, if applicable. Currently, the Tax Settings API accepts the
addressLine3
parameter only for Saudi Arabia. When you specify a TRN in Saudi Arabia, you
must enter the addressLine3
and specify the building number for the address. For example, you
might enter 1234
.public void setCity(String city)
The city that the address is in.
city
- The city that the address is in.public String getCity()
The city that the address is in.
public Address withCity(String city)
The city that the address is in.
city
- The city that the address is in.public void setCountryCode(String countryCode)
The country code for the country that the address is in.
countryCode
- The country code for the country that the address is in.public String getCountryCode()
The country code for the country that the address is in.
public Address withCountryCode(String countryCode)
The country code for the country that the address is in.
countryCode
- The country code for the country that the address is in.public void setDistrictOrCounty(String districtOrCounty)
The district or county the address is located.
For addresses in Brazil, this parameter uses the name of the neighborhood. When you set a TRN in Brazil, use
districtOrCounty
for the neighborhood name.
districtOrCounty
- The district or county the address is located.
For addresses in Brazil, this parameter uses the name of the neighborhood. When you set a TRN in Brazil,
use districtOrCounty
for the neighborhood name.
public String getDistrictOrCounty()
The district or county the address is located.
For addresses in Brazil, this parameter uses the name of the neighborhood. When you set a TRN in Brazil, use
districtOrCounty
for the neighborhood name.
For addresses in Brazil, this parameter uses the name of the neighborhood. When you set a TRN in Brazil,
use districtOrCounty
for the neighborhood name.
public Address withDistrictOrCounty(String districtOrCounty)
The district or county the address is located.
For addresses in Brazil, this parameter uses the name of the neighborhood. When you set a TRN in Brazil, use
districtOrCounty
for the neighborhood name.
districtOrCounty
- The district or county the address is located.
For addresses in Brazil, this parameter uses the name of the neighborhood. When you set a TRN in Brazil,
use districtOrCounty
for the neighborhood name.
public void setPostalCode(String postalCode)
The postal code associated with the address.
postalCode
- The postal code associated with the address.public String getPostalCode()
The postal code associated with the address.
public Address withPostalCode(String postalCode)
The postal code associated with the address.
postalCode
- The postal code associated with the address.public void setStateOrRegion(String stateOrRegion)
The state, region, or province that the address is located.
If this is required for tax settings, use the same name as shown on the Tax Settings page.
stateOrRegion
- The state, region, or province that the address is located.
If this is required for tax settings, use the same name as shown on the Tax Settings page.
public String getStateOrRegion()
The state, region, or province that the address is located.
If this is required for tax settings, use the same name as shown on the Tax Settings page.
If this is required for tax settings, use the same name as shown on the Tax Settings page.
public Address withStateOrRegion(String stateOrRegion)
The state, region, or province that the address is located.
If this is required for tax settings, use the same name as shown on the Tax Settings page.
stateOrRegion
- The state, region, or province that the address is located.
If this is required for tax settings, use the same name as shown on the Tax Settings page.
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.