Interface UnprocessedPreparedStatementName.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UnprocessedPreparedStatementName.Builder,UnprocessedPreparedStatementName>,SdkBuilder<UnprocessedPreparedStatementName.Builder,UnprocessedPreparedStatementName>,SdkPojo
- Enclosing class:
- UnprocessedPreparedStatementName
public static interface UnprocessedPreparedStatementName.Builder extends SdkPojo, CopyableBuilder<UnprocessedPreparedStatementName.Builder,UnprocessedPreparedStatementName>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UnprocessedPreparedStatementName.BuildererrorCode(String errorCode)The error code returned when the request for the prepared statement failed.UnprocessedPreparedStatementName.BuildererrorMessage(String errorMessage)The error message containing the reason why the prepared statement could not be returned.UnprocessedPreparedStatementName.BuilderstatementName(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 Detail
-
statementName
UnprocessedPreparedStatementName.Builder statementName(String 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
UnprocessedPreparedStatementName.Builder errorCode(String 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
UnprocessedPreparedStatementName.Builder errorMessage(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.
- 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.
-
-
-