Class Jurisdiction
- java.lang.Object
-
- software.amazon.awssdk.services.taxsettings.model.Jurisdiction
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Jurisdiction.Builder,Jurisdiction>
@Generated("software.amazon.awssdk:codegen") public final class Jurisdiction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Jurisdiction.Builder,Jurisdiction>
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceJurisdiction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Jurisdiction.Builderbuilder()StringcountryCode()The country code of the jurisdiction.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Jurisdiction.Builder>serializableBuilderClass()StringstateOrRegion()The state, region, or province associated with the country of the jurisdiction, if applicable.Jurisdiction.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
-
countryCode
public final String countryCode()
The country code of the jurisdiction.
- Returns:
- The country code of the jurisdiction.
-
stateOrRegion
public final String stateOrRegion()
The state, region, or province associated with the country of the jurisdiction, if applicable.
- Returns:
- The state, region, or province associated with the country of the jurisdiction, if applicable.
-
toBuilder
public Jurisdiction.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Jurisdiction.Builder,Jurisdiction>
-
builder
public static Jurisdiction.Builder builder()
-
serializableBuilderClass
public static Class<? extends Jurisdiction.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
-
-