Interface UnprocessedPreparedStatementName.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UnprocessedPreparedStatementName.Builder,
,UnprocessedPreparedStatementName> SdkBuilder<UnprocessedPreparedStatementName.Builder,
,UnprocessedPreparedStatementName> SdkPojo
- Enclosing class:
UnprocessedPreparedStatementName
-
Method Summary
Modifier and TypeMethodDescriptionThe error code returned when the request for the prepared statement failed.errorMessage
(String errorMessage) The error message containing the reason why the prepared statement could not be returned.statementName
(String statementName) The name of a prepared statement that could not be returned due to an error.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
statementName
The name of a prepared statement that could not be returned due to an error.
- Parameters:
statementName
- The name of a prepared statement that could not be returned due to an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
The error code returned when the request for the prepared statement failed.
- Parameters:
errorCode
- The error code returned when the request for the prepared statement failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-