Class AccountMetaData
- java.lang.Object
-
- software.amazon.awssdk.services.taxsettings.model.AccountMetaData
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AccountMetaData.Builder,AccountMetaData>
@Generated("software.amazon.awssdk:codegen") public final class AccountMetaData extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AccountMetaData.Builder,AccountMetaData>
The meta data information associated with the account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAccountMetaData.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountName()The Amazon Web Services accounts name.Addressaddress()Returns the value of the Address property for this object.Map<AddressRoleType,Jurisdiction>addressRoleMap()Address roles associated with the account containing country code information.Map<String,Jurisdiction>addressRoleMapAsStrings()Address roles associated with the account containing country code information.AddressRoleTypeaddressType()The type of address associated with the legal profile.StringaddressTypeAsString()The type of address associated with the legal profile.static AccountMetaData.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasAddressRoleMap()For responses, this returns true if the service returned a value for the AddressRoleMap property.inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()Stringseller()Seller information associated with the account.static Class<? extends AccountMetaData.Builder>serializableBuilderClass()AccountMetaData.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
-
accountName
public final String accountName()
The Amazon Web Services accounts name.
- Returns:
- The Amazon Web Services accounts name.
-
address
public final Address address()
Returns the value of the Address property for this object.- Returns:
- The value of the Address property for this object.
-
addressRoleMap
public final Map<AddressRoleType,Jurisdiction> addressRoleMap()
Address roles associated with the account containing country code information.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAddressRoleMap()method.- Returns:
- Address roles associated with the account containing country code information.
-
hasAddressRoleMap
public final boolean hasAddressRoleMap()
For responses, this returns true if the service returned a value for the AddressRoleMap property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
addressRoleMapAsStrings
public final Map<String,Jurisdiction> addressRoleMapAsStrings()
Address roles associated with the account containing country code information.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAddressRoleMap()method.- Returns:
- Address roles associated with the account containing country code information.
-
addressType
public final AddressRoleType addressType()
The type of address associated with the legal profile.
If the service returns an enum value that is not available in the current SDK version,
addressTypewill returnAddressRoleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaddressTypeAsString().- Returns:
- The type of address associated with the legal profile.
- See Also:
AddressRoleType
-
addressTypeAsString
public final String addressTypeAsString()
The type of address associated with the legal profile.
If the service returns an enum value that is not available in the current SDK version,
addressTypewill returnAddressRoleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaddressTypeAsString().- Returns:
- The type of address associated with the legal profile.
- See Also:
AddressRoleType
-
seller
public final String seller()
Seller information associated with the account.
- Returns:
- Seller information associated with the account.
-
toBuilder
public AccountMetaData.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AccountMetaData.Builder,AccountMetaData>
-
builder
public static AccountMetaData.Builder builder()
-
serializableBuilderClass
public static Class<? extends AccountMetaData.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
-
-