public static interface CreateHITWithHITTypeResponse.Builder extends MTurkResponse.Builder, CopyableBuilder<CreateHITWithHITTypeResponse.Builder,CreateHITWithHITTypeResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateHITWithHITTypeResponse.Builder |
hit(Consumer<HIT.Builder> hit)
Contains the newly created HIT data.
|
CreateHITWithHITTypeResponse.Builder |
hit(HIT hit)
Contains the newly created HIT data.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildCreateHITWithHITTypeResponse.Builder hit(HIT hit)
Contains the newly created HIT data. For a description of the HIT data structure as it appears in responses, see the HIT Data Structure documentation.
hit - Contains the newly created HIT data. For a description of the HIT data structure as it appears in
responses, see the HIT Data Structure documentation.default CreateHITWithHITTypeResponse.Builder hit(Consumer<HIT.Builder> hit)
Contains the newly created HIT data. For a description of the HIT data structure as it appears in responses, see the HIT Data Structure documentation.
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.Builderhit(HIT)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.