@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnprocessedPreparedStatementName extends Object implements Serializable, Cloneable, StructuredPojo
The name of a prepared statement that could not be returned.
Constructor and Description |
---|
UnprocessedPreparedStatementName() |
Modifier and Type | Method and Description |
---|---|
UnprocessedPreparedStatementName |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code returned when the request for the prepared statement failed.
|
String |
getErrorMessage()
The error message containing the reason why the prepared statement could not be returned.
|
String |
getStatementName()
The name of a prepared statement that could not be returned due to an error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
The error code returned when the request for the prepared statement failed.
|
void |
setErrorMessage(String errorMessage)
The error message containing the reason why the prepared statement could not be returned.
|
void |
setStatementName(String statementName)
The name of a prepared statement that could not be returned due to an error.
|
String |
toString()
Returns a string representation of this object.
|
UnprocessedPreparedStatementName |
withErrorCode(String errorCode)
The error code returned when the request for the prepared statement failed.
|
UnprocessedPreparedStatementName |
withErrorMessage(String errorMessage)
The error message containing the reason why the prepared statement could not be returned.
|
UnprocessedPreparedStatementName |
withStatementName(String statementName)
The name of a prepared statement that could not be returned due to an error.
|
public void setStatementName(String statementName)
The name of a prepared statement that could not be returned due to an error.
statementName
- The name of a prepared statement that could not be returned due to an error.public String getStatementName()
The name of a prepared statement that could not be returned due to an error.
public UnprocessedPreparedStatementName withStatementName(String statementName)
The name of a prepared statement that could not be returned due to an error.
statementName
- The name of a prepared statement that could not be returned due to an error.public void setErrorCode(String errorCode)
The error code returned when the request for the prepared statement failed.
errorCode
- The error code returned when the request for the prepared statement failed.public String getErrorCode()
The error code returned when the request for the prepared statement failed.
public UnprocessedPreparedStatementName withErrorCode(String errorCode)
The error code returned when the request for the prepared statement failed.
errorCode
- The error code returned when the request for the prepared statement failed.public void setErrorMessage(String errorMessage)
The error message containing the reason why the prepared statement could not be returned. The following error messages are possible:
INVALID_INPUT
- The name of the prepared statement that was provided is not valid (for example, the
name is too long).
STATEMENT_NOT_FOUND
- A prepared statement with the name provided could not be found.
UNAUTHORIZED
- The requester does not have permission to access the workgroup that contains the
prepared statement.
errorMessage
- The error message containing the reason why the prepared statement could not be returned. The following
error messages are possible:
INVALID_INPUT
- The name of the prepared statement that was provided is not valid (for
example, the name is too long).
STATEMENT_NOT_FOUND
- A prepared statement with the name provided could not be found.
UNAUTHORIZED
- The requester does not have permission to access the workgroup that contains
the prepared statement.
public String getErrorMessage()
The error message containing the reason why the prepared statement could not be returned. The following error messages are possible:
INVALID_INPUT
- The name of the prepared statement that was provided is not valid (for example, the
name is too long).
STATEMENT_NOT_FOUND
- A prepared statement with the name provided could not be found.
UNAUTHORIZED
- The requester does not have permission to access the workgroup that contains the
prepared statement.
INVALID_INPUT
- The name of the prepared statement that was provided is not valid (for
example, the name is too long).
STATEMENT_NOT_FOUND
- A prepared statement with the name provided could not be found.
UNAUTHORIZED
- The requester does not have permission to access the workgroup that contains
the prepared statement.
public UnprocessedPreparedStatementName withErrorMessage(String errorMessage)
The error message containing the reason why the prepared statement could not be returned. The following error messages are possible:
INVALID_INPUT
- The name of the prepared statement that was provided is not valid (for example, the
name is too long).
STATEMENT_NOT_FOUND
- A prepared statement with the name provided could not be found.
UNAUTHORIZED
- The requester does not have permission to access the workgroup that contains the
prepared statement.
errorMessage
- The error message containing the reason why the prepared statement could not be returned. The following
error messages are possible:
INVALID_INPUT
- The name of the prepared statement that was provided is not valid (for
example, the name is too long).
STATEMENT_NOT_FOUND
- A prepared statement with the name provided could not be found.
UNAUTHORIZED
- The requester does not have permission to access the workgroup that contains
the prepared statement.
public String toString()
toString
in class Object
Object.toString()
public UnprocessedPreparedStatementName clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.