public static interface GetHITResponse.Builder extends MTurkResponse.Builder, 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
copy
apply, build
GetHITResponse.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 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.Builder
hit(HIT)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.