@Generated(value="software.amazon.awssdk:codegen") public final class Statement extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Statement.Builder,Statement>
The statement or request for a particular action to occur in a session.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Statement.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Statement.Builder |
builder() |
String |
code()
The execution code of the statement.
|
Long |
completedOn()
The unix time and date that the job definition was completed.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
id()
The ID of the statement.
|
StatementOutput |
output()
The output in JSON.
|
Double |
progress()
The code execution progress.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Statement.Builder> |
serializableBuilderClass() |
Long |
startedOn()
The unix time and date that the job definition was started.
|
StatementState |
state()
The state while request is actioned.
|
String |
stateAsString()
The state while request is actioned.
|
Statement.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer id()
The ID of the statement.
public final String code()
The execution code of the statement.
public final StatementState state()
The state while request is actioned.
If the service returns an enum value that is not available in the current SDK version, state will return
StatementState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
StatementStatepublic final String stateAsString()
The state while request is actioned.
If the service returns an enum value that is not available in the current SDK version, state will return
StatementState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
StatementStatepublic final StatementOutput output()
The output in JSON.
public final Double progress()
The code execution progress.
public final Long startedOn()
The unix time and date that the job definition was started.
public final Long completedOn()
The unix time and date that the job definition was completed.
public Statement.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Statement.Builder,Statement>public static Statement.Builder builder()
public static Class<? extends Statement.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.