@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchPutTaxRegistrationError extends Object implements Serializable, Cloneable, StructuredPojo
The error object for representing failures in the BatchPutTaxRegistration operation.
| Constructor and Description |
|---|
BatchPutTaxRegistrationError() |
| Modifier and Type | Method and Description |
|---|---|
BatchPutTaxRegistrationError |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The unique account identifier for the account that the tax registration couldn't be added, or updated during the
BatchPutTaxRegistration operation. |
String |
getCode()
The error code for an individual failure in the
BatchPutTaxRegistration operation. |
String |
getMessage()
The error message for an individual failure in the
BatchPutTaxRegistration operation. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAccountId(String accountId)
The unique account identifier for the account that the tax registration couldn't be added, or updated during the
BatchPutTaxRegistration operation. |
void |
setCode(String code)
The error code for an individual failure in the
BatchPutTaxRegistration operation. |
void |
setMessage(String message)
The error message for an individual failure in the
BatchPutTaxRegistration operation. |
String |
toString()
Returns a string representation of this object.
|
BatchPutTaxRegistrationError |
withAccountId(String accountId)
The unique account identifier for the account that the tax registration couldn't be added, or updated during the
BatchPutTaxRegistration operation. |
BatchPutTaxRegistrationError |
withCode(String code)
The error code for an individual failure in the
BatchPutTaxRegistration operation. |
BatchPutTaxRegistrationError |
withMessage(String message)
The error message for an individual failure in the
BatchPutTaxRegistration operation. |
public void setAccountId(String accountId)
The unique account identifier for the account that the tax registration couldn't be added, or updated during the
BatchPutTaxRegistration operation.
accountId - The unique account identifier for the account that the tax registration couldn't be added, or updated
during the BatchPutTaxRegistration operation.public String getAccountId()
The unique account identifier for the account that the tax registration couldn't be added, or updated during the
BatchPutTaxRegistration operation.
BatchPutTaxRegistration operation.public BatchPutTaxRegistrationError withAccountId(String accountId)
The unique account identifier for the account that the tax registration couldn't be added, or updated during the
BatchPutTaxRegistration operation.
accountId - The unique account identifier for the account that the tax registration couldn't be added, or updated
during the BatchPutTaxRegistration operation.public void setCode(String code)
The error code for an individual failure in the BatchPutTaxRegistration operation.
code - The error code for an individual failure in the BatchPutTaxRegistration operation.public String getCode()
The error code for an individual failure in the BatchPutTaxRegistration operation.
BatchPutTaxRegistration operation.public BatchPutTaxRegistrationError withCode(String code)
The error code for an individual failure in the BatchPutTaxRegistration operation.
code - The error code for an individual failure in the BatchPutTaxRegistration operation.public void setMessage(String message)
The error message for an individual failure in the BatchPutTaxRegistration operation.
message - The error message for an individual failure in the BatchPutTaxRegistration operation.public String getMessage()
The error message for an individual failure in the BatchPutTaxRegistration operation.
BatchPutTaxRegistration operation.public BatchPutTaxRegistrationError withMessage(String message)
The error message for an individual failure in the BatchPutTaxRegistration operation.
message - The error message for an individual failure in the BatchPutTaxRegistration operation.public String toString()
toString in class ObjectObject.toString()public BatchPutTaxRegistrationError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.