| Package | Description | 
|---|---|
| com.amazonaws.services.cloudfront.model | 
| Modifier and Type | Method and Description | 
|---|---|
| TestResult | TestResult. clone() | 
| TestResult | TestFunctionResult. getTestResult()
 An object that represents the result of running the function with the provided event object. | 
| TestResult | TestResult. withComputeUtilization(String computeUtilization)
 The amount of time that the function took to run as a percentage of the maximum allowed time. | 
| TestResult | TestResult. withFunctionErrorMessage(String functionErrorMessage)
 If the result of testing the function was an error, this field contains the error message. | 
| TestResult | TestResult. withFunctionExecutionLogs(Collection<String> functionExecutionLogs)
 Contains the log lines that the function wrote (if any) when running the test. | 
| TestResult | TestResult. withFunctionExecutionLogs(String... functionExecutionLogs)
 Contains the log lines that the function wrote (if any) when running the test. | 
| TestResult | TestResult. withFunctionOutput(String functionOutput)
 The event object returned by the function. | 
| TestResult | TestResult. withFunctionSummary(FunctionSummary functionSummary)
 Contains configuration information and metadata about the CloudFront function that was tested. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | TestFunctionResult. setTestResult(TestResult testResult)
 An object that represents the result of running the function with the provided event object. | 
| TestFunctionResult | TestFunctionResult. withTestResult(TestResult testResult)
 An object that represents the result of running the function with the provided event object. | 
Copyright © 2021. All rights reserved.