@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EvaluateCodeResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
EvaluateCodeResult() |
| Modifier and Type | Method and Description |
|---|---|
EvaluateCodeResult |
clone() |
boolean |
equals(Object obj) |
EvaluateCodeErrorDetail |
getError()
Contains the payload of the response error.
|
String |
getEvaluationResult()
The result of the evaluation operation.
|
List<String> |
getLogs()
A list of logs that were generated by calls to
util.log.info and util.log.error in the
evaluated code. |
int |
hashCode() |
void |
setError(EvaluateCodeErrorDetail error)
Contains the payload of the response error.
|
void |
setEvaluationResult(String evaluationResult)
The result of the evaluation operation.
|
void |
setLogs(Collection<String> logs)
A list of logs that were generated by calls to
util.log.info and util.log.error in the
evaluated code. |
String |
toString()
Returns a string representation of this object.
|
EvaluateCodeResult |
withError(EvaluateCodeErrorDetail error)
Contains the payload of the response error.
|
EvaluateCodeResult |
withEvaluationResult(String evaluationResult)
The result of the evaluation operation.
|
EvaluateCodeResult |
withLogs(Collection<String> logs)
A list of logs that were generated by calls to
util.log.info and util.log.error in the
evaluated code. |
EvaluateCodeResult |
withLogs(String... logs)
A list of logs that were generated by calls to
util.log.info and util.log.error in the
evaluated code. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setEvaluationResult(String evaluationResult)
The result of the evaluation operation.
evaluationResult - The result of the evaluation operation.public String getEvaluationResult()
The result of the evaluation operation.
public EvaluateCodeResult withEvaluationResult(String evaluationResult)
The result of the evaluation operation.
evaluationResult - The result of the evaluation operation.public void setError(EvaluateCodeErrorDetail error)
Contains the payload of the response error.
error - Contains the payload of the response error.public EvaluateCodeErrorDetail getError()
Contains the payload of the response error.
public EvaluateCodeResult withError(EvaluateCodeErrorDetail error)
Contains the payload of the response error.
error - Contains the payload of the response error.public List<String> getLogs()
A list of logs that were generated by calls to util.log.info and util.log.error in the
evaluated code.
util.log.info and util.log.error
in the evaluated code.public void setLogs(Collection<String> logs)
A list of logs that were generated by calls to util.log.info and util.log.error in the
evaluated code.
logs - A list of logs that were generated by calls to util.log.info and util.log.error
in the evaluated code.public EvaluateCodeResult withLogs(String... logs)
A list of logs that were generated by calls to util.log.info and util.log.error in the
evaluated code.
NOTE: This method appends the values to the existing list (if any). Use
setLogs(java.util.Collection) or withLogs(java.util.Collection) if you want to override the
existing values.
logs - A list of logs that were generated by calls to util.log.info and util.log.error
in the evaluated code.public EvaluateCodeResult withLogs(Collection<String> logs)
A list of logs that were generated by calls to util.log.info and util.log.error in the
evaluated code.
logs - A list of logs that were generated by calls to util.log.info and util.log.error
in the evaluated code.public String toString()
toString in class ObjectObject.toString()public EvaluateCodeResult clone()