Interface ListReviewPolicyResultsForHitRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListReviewPolicyResultsForHitRequest.Builder,,ListReviewPolicyResultsForHitRequest> MTurkRequest.Builder,SdkBuilder<ListReviewPolicyResultsForHitRequest.Builder,,ListReviewPolicyResultsForHitRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListReviewPolicyResultsForHitRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the HIT to retrieve review results for.maxResults(Integer maxResults) Limit the number of results returned.Pagination tokenoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.policyLevels(Collection<ReviewPolicyLevel> policyLevels) The Policy Level(s) to retrieve review results for - HIT or Assignment.policyLevels(ReviewPolicyLevel... policyLevels) The Policy Level(s) to retrieve review results for - HIT or Assignment.policyLevelsWithStrings(String... policyLevels) The Policy Level(s) to retrieve review results for - HIT or Assignment.policyLevelsWithStrings(Collection<String> policyLevels) The Policy Level(s) to retrieve review results for - HIT or Assignment.retrieveActions(Boolean retrieveActions) Specify if the operation should retrieve a list of the actions taken executing the Review Policies and their outcomes.retrieveResults(Boolean retrieveResults) Specify if the operation should retrieve a list of the results computed by the Review Policies.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mturk.model.MTurkRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
hitId
The unique identifier of the HIT to retrieve review results for.
- Parameters:
hitId- The unique identifier of the HIT to retrieve review results for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyLevelsWithStrings
ListReviewPolicyResultsForHitRequest.Builder policyLevelsWithStrings(Collection<String> policyLevels) The Policy Level(s) to retrieve review results for - HIT or Assignment. If omitted, the default behavior is to retrieve all data for both policy levels. For a list of all the described policies, see Review Policies.
- Parameters:
policyLevels- The Policy Level(s) to retrieve review results for - HIT or Assignment. If omitted, the default behavior is to retrieve all data for both policy levels. For a list of all the described policies, see Review Policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyLevelsWithStrings
The Policy Level(s) to retrieve review results for - HIT or Assignment. If omitted, the default behavior is to retrieve all data for both policy levels. For a list of all the described policies, see Review Policies.
- Parameters:
policyLevels- The Policy Level(s) to retrieve review results for - HIT or Assignment. If omitted, the default behavior is to retrieve all data for both policy levels. For a list of all the described policies, see Review Policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyLevels
ListReviewPolicyResultsForHitRequest.Builder policyLevels(Collection<ReviewPolicyLevel> policyLevels) The Policy Level(s) to retrieve review results for - HIT or Assignment. If omitted, the default behavior is to retrieve all data for both policy levels. For a list of all the described policies, see Review Policies.
- Parameters:
policyLevels- The Policy Level(s) to retrieve review results for - HIT or Assignment. If omitted, the default behavior is to retrieve all data for both policy levels. For a list of all the described policies, see Review Policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyLevels
The Policy Level(s) to retrieve review results for - HIT or Assignment. If omitted, the default behavior is to retrieve all data for both policy levels. For a list of all the described policies, see Review Policies.
- Parameters:
policyLevels- The Policy Level(s) to retrieve review results for - HIT or Assignment. If omitted, the default behavior is to retrieve all data for both policy levels. For a list of all the described policies, see Review Policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retrieveActions
Specify if the operation should retrieve a list of the actions taken executing the Review Policies and their outcomes.
- Parameters:
retrieveActions- Specify if the operation should retrieve a list of the actions taken executing the Review Policies and their outcomes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retrieveResults
Specify if the operation should retrieve a list of the results computed by the Review Policies.
- Parameters:
retrieveResults- Specify if the operation should retrieve a list of the results computed by the Review Policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Pagination token
- Parameters:
nextToken- Pagination token- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
Limit the number of results returned.
- Parameters:
maxResults- Limit the number of results returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListReviewPolicyResultsForHitRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListReviewPolicyResultsForHitRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-