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 interface
PreparedStatement.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PreparedStatement.Builder
builder()
String
description()
The description of the prepared statement.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Instant
lastModifiedTime()
The last modified time of the prepared statement.String
queryStatement()
The query string for the prepared statement.List<SdkField<?>>
sdkFields()
static Class<? extends PreparedStatement.Builder>
serializableBuilderClass()
String
statementName()
The name of the prepared statement.PreparedStatement.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
workGroupName()
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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-