@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 Object
Object.toString()
public Jurisdiction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.