Class Statement
- java.lang.Object
-
- software.amazon.awssdk.services.glue.model.Statement
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Statement.Builder,Statement>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStatement.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Statement.Builderbuilder()Stringcode()The execution code of the statement.LongcompletedOn()The unix time and date that the job definition was completed.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerid()The ID of the statement.StatementOutputoutput()The output in JSON.Doubleprogress()The code execution progress.List<SdkField<?>>sdkFields()static Class<? extends Statement.Builder>serializableBuilderClass()LongstartedOn()The unix time and date that the job definition was started.StatementStatestate()The state while request is actioned.StringstateAsString()The state while request is actioned.Statement.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
id
public final Integer id()
The ID of the statement.
- Returns:
- The ID of the statement.
-
code
public final String code()
The execution code of the statement.
- Returns:
- The execution code of the statement.
-
state
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,
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:
StatementState
-
stateAsString
public 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,
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:
StatementState
-
output
public final StatementOutput output()
The output in JSON.
- Returns:
- The output in JSON.
-
progress
public final Double progress()
The code execution progress.
- Returns:
- The code execution progress.
-
startedOn
public final Long 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
public final Long 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
public Statement.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Statement.Builder,Statement>
-
builder
public static Statement.Builder builder()
-
serializableBuilderClass
public static Class<? extends Statement.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.
-
-