@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetTokenBalanceErrorItem extends Object implements Serializable, Cloneable, StructuredPojo
Error generated from a failed BatchGetTokenBalance request.
| Constructor and Description |
|---|
BatchGetTokenBalanceErrorItem() |
public void setTokenIdentifier(TokenIdentifier tokenIdentifier)
tokenIdentifier - public TokenIdentifier getTokenIdentifier()
public BatchGetTokenBalanceErrorItem withTokenIdentifier(TokenIdentifier tokenIdentifier)
tokenIdentifier - public void setOwnerIdentifier(OwnerIdentifier ownerIdentifier)
ownerIdentifier - public OwnerIdentifier getOwnerIdentifier()
public BatchGetTokenBalanceErrorItem withOwnerIdentifier(OwnerIdentifier ownerIdentifier)
ownerIdentifier - public void setAtBlockchainInstant(BlockchainInstant atBlockchainInstant)
atBlockchainInstant - public BlockchainInstant getAtBlockchainInstant()
public BatchGetTokenBalanceErrorItem withAtBlockchainInstant(BlockchainInstant atBlockchainInstant)
atBlockchainInstant - public void setErrorCode(String errorCode)
The error code associated with the error.
errorCode - The error code associated with the error.public String getErrorCode()
The error code associated with the error.
public BatchGetTokenBalanceErrorItem withErrorCode(String errorCode)
The error code associated with the error.
errorCode - The error code associated with the error.public void setErrorMessage(String errorMessage)
The message associated with the error.
errorMessage - The message associated with the error.public String getErrorMessage()
The message associated with the error.
public BatchGetTokenBalanceErrorItem withErrorMessage(String errorMessage)
The message associated with the error.
errorMessage - The message associated with the error.public void setErrorType(String errorType)
The type of error.
errorType - The type of error.ErrorTypepublic String getErrorType()
The type of error.
ErrorTypepublic BatchGetTokenBalanceErrorItem withErrorType(String errorType)
The type of error.
errorType - The type of error.ErrorTypepublic BatchGetTokenBalanceErrorItem withErrorType(ErrorType errorType)
The type of error.
errorType - The type of error.ErrorTypepublic String toString()
toString in class ObjectObject.toString()public BatchGetTokenBalanceErrorItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.