Class PreparedStatement
- java.lang.Object
-
- software.amazon.awssdk.services.athena.model.PreparedStatement
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PreparedStatement.Builder,PreparedStatement>
@Generated("software.amazon.awssdk:codegen") public final class PreparedStatement extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PreparedStatement.Builder,PreparedStatement>
A prepared SQL statement for use with Athena.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePreparedStatement.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PreparedStatement.Builderbuilder()Stringdescription()The description of the prepared statement.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastModifiedTime()The last modified time of the prepared statement.StringqueryStatement()The query string for the prepared statement.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PreparedStatement.Builder>serializableBuilderClass()StringstatementName()The name of the prepared statement.PreparedStatement.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringworkGroupName()The name of the workgroup to which the prepared statement belongs.-
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 the prepared statement.
- Returns:
- The name of the prepared statement.
-
queryStatement
public final String queryStatement()
The query string for the prepared statement.
- Returns:
- The query string for the prepared statement.
-
workGroupName
public final String workGroupName()
The name of the workgroup to which the prepared statement belongs.
- Returns:
- The name of the workgroup to which the prepared statement belongs.
-
description
public final String description()
The description of the prepared statement.
- Returns:
- The description of the prepared statement.
-
lastModifiedTime
public final Instant lastModifiedTime()
The last modified time of the prepared statement.
- Returns:
- The last modified time of the prepared statement.
-
toBuilder
public PreparedStatement.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PreparedStatement.Builder,PreparedStatement>
-
builder
public static PreparedStatement.Builder builder()
-
serializableBuilderClass
public static Class<? extends PreparedStatement.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
-
-