@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchPutTaxRegistrationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchPutTaxRegistrationResult() |
Modifier and Type | Method and Description |
---|---|
BatchPutTaxRegistrationResult |
clone() |
boolean |
equals(Object obj) |
List<BatchPutTaxRegistrationError> |
getErrors()
List of errors for the accounts the TRN information could not be added or updated to.
|
String |
getStatus()
The status of your TRN stored in the system after processing.
|
int |
hashCode() |
void |
setErrors(Collection<BatchPutTaxRegistrationError> errors)
List of errors for the accounts the TRN information could not be added or updated to.
|
void |
setStatus(String status)
The status of your TRN stored in the system after processing.
|
String |
toString()
Returns a string representation of this object.
|
BatchPutTaxRegistrationResult |
withErrors(BatchPutTaxRegistrationError... errors)
List of errors for the accounts the TRN information could not be added or updated to.
|
BatchPutTaxRegistrationResult |
withErrors(Collection<BatchPutTaxRegistrationError> errors)
List of errors for the accounts the TRN information could not be added or updated to.
|
BatchPutTaxRegistrationResult |
withStatus(String status)
The status of your TRN stored in the system after processing.
|
BatchPutTaxRegistrationResult |
withStatus(TaxRegistrationStatus status)
The status of your TRN stored in the system after processing.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<BatchPutTaxRegistrationError> getErrors()
List of errors for the accounts the TRN information could not be added or updated to.
public void setErrors(Collection<BatchPutTaxRegistrationError> errors)
List of errors for the accounts the TRN information could not be added or updated to.
errors
- List of errors for the accounts the TRN information could not be added or updated to.public BatchPutTaxRegistrationResult withErrors(BatchPutTaxRegistrationError... errors)
List of errors for the accounts the TRN information could not be added or updated to.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection)
or withErrors(java.util.Collection)
if you want to override the
existing values.
errors
- List of errors for the accounts the TRN information could not be added or updated to.public BatchPutTaxRegistrationResult withErrors(Collection<BatchPutTaxRegistrationError> errors)
List of errors for the accounts the TRN information could not be added or updated to.
errors
- List of errors for the accounts the TRN information could not be added or updated to.public void setStatus(String status)
The status of your TRN stored in the system after processing. Based on the validation occurring on the TRN, the
status can be Verified
, Pending
or Rejected
.
status
- The status of your TRN stored in the system after processing. Based on the validation occurring on the
TRN, the status can be Verified
, Pending
or Rejected
.TaxRegistrationStatus
public String getStatus()
The status of your TRN stored in the system after processing. Based on the validation occurring on the TRN, the
status can be Verified
, Pending
or Rejected
.
Verified
, Pending
or Rejected
.TaxRegistrationStatus
public BatchPutTaxRegistrationResult withStatus(String status)
The status of your TRN stored in the system after processing. Based on the validation occurring on the TRN, the
status can be Verified
, Pending
or Rejected
.
status
- The status of your TRN stored in the system after processing. Based on the validation occurring on the
TRN, the status can be Verified
, Pending
or Rejected
.TaxRegistrationStatus
public BatchPutTaxRegistrationResult withStatus(TaxRegistrationStatus status)
The status of your TRN stored in the system after processing. Based on the validation occurring on the TRN, the
status can be Verified
, Pending
or Rejected
.
status
- The status of your TRN stored in the system after processing. Based on the validation occurring on the
TRN, the status can be Verified
, Pending
or Rejected
.TaxRegistrationStatus
public String toString()
toString
in class Object
Object.toString()
public BatchPutTaxRegistrationResult clone()