Interface UpdateExpirationForHitRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateExpirationForHitRequest.Builder,
,UpdateExpirationForHitRequest> MTurkRequest.Builder
,SdkBuilder<UpdateExpirationForHitRequest.Builder,
,UpdateExpirationForHitRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateExpirationForHitRequest
public static interface UpdateExpirationForHitRequest.Builder
extends MTurkRequest.Builder, SdkPojo, CopyableBuilder<UpdateExpirationForHitRequest.Builder,UpdateExpirationForHitRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time at which you want the HIT to expireThe HIT to update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mturk.model.MTurkRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
hitId
The HIT to update.
- Parameters:
hitId
- The HIT to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expireAt
The date and time at which you want the HIT to expire
- Parameters:
expireAt
- The date and time at which you want the HIT to expire- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateExpirationForHitRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateExpirationForHitRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-