@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchStatementError extends Object implements Serializable, Cloneable, StructuredPojo
An error associated with a statement in a PartiQL batch that was run.
Constructor and Description |
---|
BatchStatementError() |
Modifier and Type | Method and Description |
---|---|
BatchStatementError |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The error code associated with the failed PartiQL batch statement.
|
String |
getMessage()
The error message associated with the PartiQL batch response.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCode(String code)
The error code associated with the failed PartiQL batch statement.
|
void |
setMessage(String message)
The error message associated with the PartiQL batch response.
|
String |
toString()
Returns a string representation of this object.
|
BatchStatementError |
withCode(BatchStatementErrorCodeEnum code)
The error code associated with the failed PartiQL batch statement.
|
BatchStatementError |
withCode(String code)
The error code associated with the failed PartiQL batch statement.
|
BatchStatementError |
withMessage(String message)
The error message associated with the PartiQL batch response.
|
public void setCode(String code)
The error code associated with the failed PartiQL batch statement.
code
- The error code associated with the failed PartiQL batch statement.BatchStatementErrorCodeEnum
public String getCode()
The error code associated with the failed PartiQL batch statement.
BatchStatementErrorCodeEnum
public BatchStatementError withCode(String code)
The error code associated with the failed PartiQL batch statement.
code
- The error code associated with the failed PartiQL batch statement.BatchStatementErrorCodeEnum
public BatchStatementError withCode(BatchStatementErrorCodeEnum code)
The error code associated with the failed PartiQL batch statement.
code
- The error code associated with the failed PartiQL batch statement.BatchStatementErrorCodeEnum
public void setMessage(String message)
The error message associated with the PartiQL batch response.
message
- The error message associated with the PartiQL batch response.public String getMessage()
The error message associated with the PartiQL batch response.
public BatchStatementError withMessage(String message)
The error message associated with the PartiQL batch response.
message
- The error message associated with the PartiQL batch response.public String toString()
toString
in class Object
Object.toString()
public BatchStatementError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2022. All rights reserved.