@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StatementOutput extends Object implements Serializable, Cloneable, StructuredPojo
The code execution output in JSON format.
Constructor and Description |
---|
StatementOutput() |
Modifier and Type | Method and Description |
---|---|
StatementOutput |
clone() |
boolean |
equals(Object obj) |
StatementOutputData |
getData()
The code execution output.
|
String |
getErrorName()
The name of the error in the output.
|
String |
getErrorValue()
The error value of the output.
|
Integer |
getExecutionCount()
The execution count of the output.
|
String |
getStatus()
The status of the code execution output.
|
List<String> |
getTraceback()
The traceback of the output.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setData(StatementOutputData data)
The code execution output.
|
void |
setErrorName(String errorName)
The name of the error in the output.
|
void |
setErrorValue(String errorValue)
The error value of the output.
|
void |
setExecutionCount(Integer executionCount)
The execution count of the output.
|
void |
setStatus(String status)
The status of the code execution output.
|
void |
setTraceback(Collection<String> traceback)
The traceback of the output.
|
String |
toString()
Returns a string representation of this object.
|
StatementOutput |
withData(StatementOutputData data)
The code execution output.
|
StatementOutput |
withErrorName(String errorName)
The name of the error in the output.
|
StatementOutput |
withErrorValue(String errorValue)
The error value of the output.
|
StatementOutput |
withExecutionCount(Integer executionCount)
The execution count of the output.
|
StatementOutput |
withStatus(StatementState status)
The status of the code execution output.
|
StatementOutput |
withStatus(String status)
The status of the code execution output.
|
StatementOutput |
withTraceback(Collection<String> traceback)
The traceback of the output.
|
StatementOutput |
withTraceback(String... traceback)
The traceback of the output.
|
public void setData(StatementOutputData data)
The code execution output.
data
- The code execution output.public StatementOutputData getData()
The code execution output.
public StatementOutput withData(StatementOutputData data)
The code execution output.
data
- The code execution output.public void setExecutionCount(Integer executionCount)
The execution count of the output.
executionCount
- The execution count of the output.public Integer getExecutionCount()
The execution count of the output.
public StatementOutput withExecutionCount(Integer executionCount)
The execution count of the output.
executionCount
- The execution count of the output.public void setStatus(String status)
The status of the code execution output.
status
- The status of the code execution output.StatementState
public String getStatus()
The status of the code execution output.
StatementState
public StatementOutput withStatus(String status)
The status of the code execution output.
status
- The status of the code execution output.StatementState
public StatementOutput withStatus(StatementState status)
The status of the code execution output.
status
- The status of the code execution output.StatementState
public void setErrorName(String errorName)
The name of the error in the output.
errorName
- The name of the error in the output.public String getErrorName()
The name of the error in the output.
public StatementOutput withErrorName(String errorName)
The name of the error in the output.
errorName
- The name of the error in the output.public void setErrorValue(String errorValue)
The error value of the output.
errorValue
- The error value of the output.public String getErrorValue()
The error value of the output.
public StatementOutput withErrorValue(String errorValue)
The error value of the output.
errorValue
- The error value of the output.public List<String> getTraceback()
The traceback of the output.
public void setTraceback(Collection<String> traceback)
The traceback of the output.
traceback
- The traceback of the output.public StatementOutput withTraceback(String... traceback)
The traceback of the output.
NOTE: This method appends the values to the existing list (if any). Use
setTraceback(java.util.Collection)
or withTraceback(java.util.Collection)
if you want to
override the existing values.
traceback
- The traceback of the output.public StatementOutput withTraceback(Collection<String> traceback)
The traceback of the output.
traceback
- The traceback of the output.public String toString()
toString
in class Object
Object.toString()
public StatementOutput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.