Class Statement
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Statement.Builder,Statement>
The statement or request for a particular action to occur in a session.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Statement.Builderbuilder()final Stringcode()The execution code of the statement.final LongThe unix time and date that the job definition was completed.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Integerid()The ID of the statement.final StatementOutputoutput()The output in JSON.final Doubleprogress()The code execution progress.static Class<? extends Statement.Builder>final LongThe unix time and date that the job definition was started.final StatementStatestate()The state while request is actioned.final StringThe state while request is actioned.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
id
The ID of the statement.
- Returns:
- The ID of the statement.
-
code
The execution code of the statement.
- Returns:
- The execution code of the statement.
-
state
The state while request is actioned.
If the service returns an enum value that is not available in the current SDK version,
statewill returnStatementState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state while request is actioned.
- See Also:
-
stateAsString
The state while request is actioned.
If the service returns an enum value that is not available in the current SDK version,
statewill returnStatementState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state while request is actioned.
- See Also:
-
output
The output in JSON.
- Returns:
- The output in JSON.
-
progress
The code execution progress.
- Returns:
- The code execution progress.
-
startedOn
The unix time and date that the job definition was started.
- Returns:
- The unix time and date that the job definition was started.
-
completedOn
The unix time and date that the job definition was completed.
- Returns:
- The unix time and date that the job definition was completed.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<Statement.Builder,Statement>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-