Interface EvaluateCodeResponse.Builder
- All Superinterfaces:
AppSyncResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<EvaluateCodeResponse.Builder,
,EvaluateCodeResponse> SdkBuilder<EvaluateCodeResponse.Builder,
,EvaluateCodeResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
EvaluateCodeResponse
public static interface EvaluateCodeResponse.Builder
extends AppSyncResponse.Builder, SdkPojo, CopyableBuilder<EvaluateCodeResponse.Builder,EvaluateCodeResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EvaluateCodeResponse.Builder
Contains the payload of the response error.error
(EvaluateCodeErrorDetail error) Contains the payload of the response error.evaluationResult
(String evaluationResult) The result of the evaluation operation.A list of logs that were generated by calls toutil.log.info
andutil.log.error
in the evaluated code.logs
(Collection<String> logs) A list of logs that were generated by calls toutil.log.info
andutil.log.error
in the evaluated code.Methods inherited from interface software.amazon.awssdk.services.appsync.model.AppSyncResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
evaluationResult
The result of the evaluation operation.
- Parameters:
evaluationResult
- The result of the evaluation operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
Contains the payload of the response error.
- Parameters:
error
- Contains the payload of the response error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaEvaluateCodeErrorDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerror(EvaluateCodeErrorDetail)
.- Parameters:
error
- a consumer that will call methods onEvaluateCodeErrorDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logs
A list of logs that were generated by calls to
util.log.info
andutil.log.error
in the evaluated code.- Parameters:
logs
- A list of logs that were generated by calls toutil.log.info
andutil.log.error
in the evaluated code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logs
A list of logs that were generated by calls to
util.log.info
andutil.log.error
in the evaluated code.- Parameters:
logs
- A list of logs that were generated by calls toutil.log.info
andutil.log.error
in the evaluated code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-