@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EvaluateMappingTemplateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
EvaluateMappingTemplateResult() |
Modifier and Type | Method and Description |
---|---|
EvaluateMappingTemplateResult |
clone() |
boolean |
equals(Object obj) |
ErrorDetail |
getError()
The
ErrorDetail object. |
String |
getEvaluationResult()
The mapping template; this can be a request or response template.
|
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(ErrorDetail error)
The
ErrorDetail object. |
void |
setEvaluationResult(String evaluationResult)
The mapping template; this can be a request or response template.
|
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.
|
EvaluateMappingTemplateResult |
withError(ErrorDetail error)
The
ErrorDetail object. |
EvaluateMappingTemplateResult |
withEvaluationResult(String evaluationResult)
The mapping template; this can be a request or response template.
|
EvaluateMappingTemplateResult |
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. |
EvaluateMappingTemplateResult |
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, setSdkResponseMetadata
public void setEvaluationResult(String evaluationResult)
The mapping template; this can be a request or response template.
evaluationResult
- The mapping template; this can be a request or response template.public String getEvaluationResult()
The mapping template; this can be a request or response template.
public EvaluateMappingTemplateResult withEvaluationResult(String evaluationResult)
The mapping template; this can be a request or response template.
evaluationResult
- The mapping template; this can be a request or response template.public void setError(ErrorDetail error)
The ErrorDetail
object.
error
- The ErrorDetail
object.public ErrorDetail getError()
The ErrorDetail
object.
ErrorDetail
object.public EvaluateMappingTemplateResult withError(ErrorDetail error)
The ErrorDetail
object.
error
- The ErrorDetail
object.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 EvaluateMappingTemplateResult 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 EvaluateMappingTemplateResult 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 Object
Object.toString()
public EvaluateMappingTemplateResult clone()