public static interface EvaluateCodeResponse.Builder extends AppSyncResponse.Builder, SdkPojo, CopyableBuilder<EvaluateCodeResponse.Builder,EvaluateCodeResponse>
| Modifier and Type | Method and Description |
|---|---|
default EvaluateCodeResponse.Builder |
error(Consumer<EvaluateCodeErrorDetail.Builder> error)
Contains the payload of the response error.
|
EvaluateCodeResponse.Builder |
error(EvaluateCodeErrorDetail error)
Contains the payload of the response error.
|
EvaluateCodeResponse.Builder |
evaluationResult(String evaluationResult)
The result of the evaluation operation.
|
EvaluateCodeResponse.Builder |
logs(Collection<String> logs)
A list of logs that were generated by calls to
util.log.info and util.log.error in
the evaluated code. |
EvaluateCodeResponse.Builder |
logs(String... logs)
A list of logs that were generated by calls to
util.log.info and util.log.error in
the evaluated code. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildEvaluateCodeResponse.Builder evaluationResult(String evaluationResult)
The result of the evaluation operation.
evaluationResult - The result of the evaluation operation.EvaluateCodeResponse.Builder error(EvaluateCodeErrorDetail error)
Contains the payload of the response error.
error - Contains the payload of the response error.default EvaluateCodeResponse.Builder error(Consumer<EvaluateCodeErrorDetail.Builder> error)
Contains the payload of the response error.
This is a convenience method that creates an instance of theEvaluateCodeErrorDetail.Builder avoiding
the need to create one manually via EvaluateCodeErrorDetail.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to error(EvaluateCodeErrorDetail).
error - a consumer that will call methods on EvaluateCodeErrorDetail.Buildererror(EvaluateCodeErrorDetail)EvaluateCodeResponse.Builder logs(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.EvaluateCodeResponse.Builder logs(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.Copyright © 2023. All rights reserved.