@Generated(value="software.amazon.awssdk:codegen") public final class StatementData extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StatementData.Builder,StatementData>
The SQL statement to run.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StatementData.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StatementData.Builder |
builder() |
Instant |
createdAt()
The date and time (UTC) the statement was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The SQL statement identifier.
|
String |
queryString()
The SQL statement.
|
List<SdkField<?>> |
sdkFields() |
String |
secretArn()
The name or Amazon Resource Name (ARN) of the secret that enables access to the database.
|
static Class<? extends StatementData.Builder> |
serializableBuilderClass() |
String |
statementName()
The name of the SQL statement.
|
StatusString |
status()
The status of the SQL statement.
|
String |
statusAsString()
The status of the SQL statement.
|
StatementData.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updatedAt()
The date and time (UTC) that the statement metadata was last updated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant createdAt()
The date and time (UTC) the statement was created.
public final String id()
The SQL statement identifier. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.
public final String queryString()
The SQL statement.
public final String secretArn()
The name or Amazon Resource Name (ARN) of the secret that enables access to the database.
public final String statementName()
The name of the SQL statement.
public final StatusString status()
The status of the SQL statement. An example is the that the SQL statement finished.
If the service returns an enum value that is not available in the current SDK version, status will
return StatusString.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
StatusStringpublic final String statusAsString()
The status of the SQL statement. An example is the that the SQL statement finished.
If the service returns an enum value that is not available in the current SDK version, status will
return StatusString.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
StatusStringpublic final Instant updatedAt()
The date and time (UTC) that the statement metadata was last updated.
public StatementData.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StatementData.Builder,StatementData>public static StatementData.Builder builder()
public static Class<? extends StatementData.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.