@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Statement extends Object implements Serializable, Cloneable, StructuredPojo
The statement or request for a particular action to occur in a session.
Constructor and Description |
---|
Statement() |
Modifier and Type | Method and Description |
---|---|
Statement |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The execution code of the statement.
|
Long |
getCompletedOn()
The unix time and date that the job definition was completed.
|
Integer |
getId()
The ID of the statement.
|
StatementOutput |
getOutput()
The output in JSON.
|
Double |
getProgress()
The code execution progress.
|
Long |
getStartedOn()
The unix time and date that the job definition was started.
|
String |
getState()
The state while request is actioned.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
The execution code of the statement.
|
void |
setCompletedOn(Long completedOn)
The unix time and date that the job definition was completed.
|
void |
setId(Integer id)
The ID of the statement.
|
void |
setOutput(StatementOutput output)
The output in JSON.
|
void |
setProgress(Double progress)
The code execution progress.
|
void |
setStartedOn(Long startedOn)
The unix time and date that the job definition was started.
|
void |
setState(String state)
The state while request is actioned.
|
String |
toString()
Returns a string representation of this object.
|
Statement |
withCode(String code)
The execution code of the statement.
|
Statement |
withCompletedOn(Long completedOn)
The unix time and date that the job definition was completed.
|
Statement |
withId(Integer id)
The ID of the statement.
|
Statement |
withOutput(StatementOutput output)
The output in JSON.
|
Statement |
withProgress(Double progress)
The code execution progress.
|
Statement |
withStartedOn(Long startedOn)
The unix time and date that the job definition was started.
|
Statement |
withState(StatementState state)
The state while request is actioned.
|
Statement |
withState(String state)
The state while request is actioned.
|
public void setId(Integer id)
The ID of the statement.
id
- The ID of the statement.public Integer getId()
The ID of the statement.
public Statement withId(Integer id)
The ID of the statement.
id
- The ID of the statement.public void setCode(String code)
The execution code of the statement.
code
- The execution code of the statement.public String getCode()
The execution code of the statement.
public Statement withCode(String code)
The execution code of the statement.
code
- The execution code of the statement.public void setState(String state)
The state while request is actioned.
state
- The state while request is actioned.StatementState
public String getState()
The state while request is actioned.
StatementState
public Statement withState(String state)
The state while request is actioned.
state
- The state while request is actioned.StatementState
public Statement withState(StatementState state)
The state while request is actioned.
state
- The state while request is actioned.StatementState
public void setOutput(StatementOutput output)
The output in JSON.
output
- The output in JSON.public StatementOutput getOutput()
The output in JSON.
public Statement withOutput(StatementOutput output)
The output in JSON.
output
- The output in JSON.public void setProgress(Double progress)
The code execution progress.
progress
- The code execution progress.public Double getProgress()
The code execution progress.
public Statement withProgress(Double progress)
The code execution progress.
progress
- The code execution progress.public void setStartedOn(Long startedOn)
The unix time and date that the job definition was started.
startedOn
- The unix time and date that the job definition was started.public Long getStartedOn()
The unix time and date that the job definition was started.
public Statement withStartedOn(Long startedOn)
The unix time and date that the job definition was started.
startedOn
- The unix time and date that the job definition was started.public void setCompletedOn(Long completedOn)
The unix time and date that the job definition was completed.
completedOn
- The unix time and date that the job definition was completed.public Long getCompletedOn()
The unix time and date that the job definition was completed.
public Statement withCompletedOn(Long completedOn)
The unix time and date that the job definition was completed.
completedOn
- The unix time and date that the job definition was completed.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.