Class UnprocessedPreparedStatementName
- java.lang.Object
-
- software.amazon.awssdk.services.athena.model.UnprocessedPreparedStatementName
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UnprocessedPreparedStatementName.Builder,UnprocessedPreparedStatementName>
@Generated("software.amazon.awssdk:codegen") public final class UnprocessedPreparedStatementName extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UnprocessedPreparedStatementName.Builder,UnprocessedPreparedStatementName>
The name of a prepared statement that could not be returned.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUnprocessedPreparedStatementName.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnprocessedPreparedStatementName.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorCode()The error code returned when the request for the prepared statement failed.StringerrorMessage()The error message containing the reason why the prepared statement could not be returned.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UnprocessedPreparedStatementName.Builder>serializableBuilderClass()StringstatementName()The name of a prepared statement that could not be returned due to an error.UnprocessedPreparedStatementName.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
statementName
public final String statementName()
The name of a prepared statement that could not be returned due to an error.
- Returns:
- The name of a prepared statement that could not be returned due to an error.
-
errorCode
public final String errorCode()
The error code returned when the request for the prepared statement failed.
- Returns:
- The error code returned when the request for the prepared statement failed.
-
errorMessage
public final 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.
- Returns:
- 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.
-
-
-
toBuilder
public UnprocessedPreparedStatementName.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UnprocessedPreparedStatementName.Builder,UnprocessedPreparedStatementName>
-
builder
public static UnprocessedPreparedStatementName.Builder builder()
-
serializableBuilderClass
public static Class<? extends UnprocessedPreparedStatementName.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-