@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Jurisdiction extends Object implements Serializable, Cloneable, StructuredPojo
The jurisdiction details of the TRN information of the customers. This doesn't contain full legal address, and contains only country code and state/region/province.
| Constructor and Description |
|---|
Jurisdiction() |
| Modifier and Type | Method and Description |
|---|---|
Jurisdiction |
clone() |
boolean |
equals(Object obj) |
String |
getCountryCode()
The country code of the jurisdiction.
|
String |
getStateOrRegion()
The state, region, or province associated with the country of the jurisdiction, if applicable.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCountryCode(String countryCode)
The country code of the jurisdiction.
|
void |
setStateOrRegion(String stateOrRegion)
The state, region, or province associated with the country of the jurisdiction, if applicable.
|
String |
toString()
Returns a string representation of this object.
|
Jurisdiction |
withCountryCode(String countryCode)
The country code of the jurisdiction.
|
Jurisdiction |
withStateOrRegion(String stateOrRegion)
The state, region, or province associated with the country of the jurisdiction, if applicable.
|
public void setCountryCode(String countryCode)
The country code of the jurisdiction.
countryCode - The country code of the jurisdiction.public String getCountryCode()
The country code of the jurisdiction.
public Jurisdiction withCountryCode(String countryCode)
The country code of the jurisdiction.
countryCode - The country code of the jurisdiction.public void setStateOrRegion(String stateOrRegion)
The state, region, or province associated with the country of the jurisdiction, if applicable.
stateOrRegion - The state, region, or province associated with the country of the jurisdiction, if applicable.public String getStateOrRegion()
The state, region, or province associated with the country of the jurisdiction, if applicable.
public Jurisdiction withStateOrRegion(String stateOrRegion)
The state, region, or province associated with the country of the jurisdiction, if applicable.
stateOrRegion - The state, region, or province associated with the country of the jurisdiction, if applicable.public String toString()
toString in class ObjectObject.toString()public Jurisdiction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.