public static interface GetHitResponse.Builder extends MTurkResponse.Builder, SdkPojo, CopyableBuilder<GetHitResponse.Builder,GetHitResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetHitResponse.Builder |
hit(Consumer<HIT.Builder> hit)
Contains the requested HIT data.
|
GetHitResponse.Builder |
hit(HIT hit)
Contains the requested HIT data.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetHitResponse.Builder hit(HIT hit)
Contains the requested HIT data.
hit - Contains the requested HIT data.default GetHitResponse.Builder hit(Consumer<HIT.Builder> hit)
Contains the requested HIT data.
This is a convenience method that creates an instance of theHIT.Builder avoiding the need to create
one manually via HIT.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to hit(HIT).
hit - a consumer that will call methods on HIT.Builderhit(HIT)Copyright © 2023. All rights reserved.