| Package | Description |
|---|---|
| software.amazon.awssdk.services.cloudfront.model |
| Modifier and Type | Method and Description |
|---|---|
static TestResult.Builder |
TestResult.builder() |
TestResult.Builder |
TestResult.Builder.computeUtilization(String computeUtilization)
The amount of time that the function took to run as a percentage of the maximum allowed time.
|
TestResult.Builder |
TestResult.Builder.functionErrorMessage(String functionErrorMessage)
If the result of testing the function was an error, this field contains the error message.
|
TestResult.Builder |
TestResult.Builder.functionExecutionLogs(Collection<String> functionExecutionLogs)
Contains the log lines that the function wrote (if any) when running the test.
|
TestResult.Builder |
TestResult.Builder.functionExecutionLogs(String... functionExecutionLogs)
Contains the log lines that the function wrote (if any) when running the test.
|
TestResult.Builder |
TestResult.Builder.functionOutput(String functionOutput)
The event object returned by the function.
|
default TestResult.Builder |
TestResult.Builder.functionSummary(Consumer<FunctionSummary.Builder> functionSummary)
Contains configuration information and metadata about the CloudFront function that was tested.
|
TestResult.Builder |
TestResult.Builder.functionSummary(FunctionSummary functionSummary)
Contains configuration information and metadata about the CloudFront function that was tested.
|
TestResult.Builder |
TestResult.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends TestResult.Builder> |
TestResult.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default TestFunctionResponse.Builder |
TestFunctionResponse.Builder.testResult(Consumer<TestResult.Builder> testResult)
An object that represents the result of running the function with the provided event object.
|
Copyright © 2023. All rights reserved.