Interface UpdateDatasetEntriesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateDatasetEntriesRequest.Builder,
,UpdateDatasetEntriesRequest> RekognitionRequest.Builder
,SdkBuilder<UpdateDatasetEntriesRequest.Builder,
,UpdateDatasetEntriesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateDatasetEntriesRequest
@Mutable
@NotThreadSafe
public static interface UpdateDatasetEntriesRequest.Builder
extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<UpdateDatasetEntriesRequest.Builder,UpdateDatasetEntriesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionchanges
(Consumer<DatasetChanges.Builder> changes) The changes that you want to make to the dataset.changes
(DatasetChanges changes) The changes that you want to make to the dataset.datasetArn
(String datasetArn) The Amazon Resource Name (ARN) of the dataset that you want 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.rekognition.model.RekognitionRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
datasetArn
The Amazon Resource Name (ARN) of the dataset that you want to update.
- Parameters:
datasetArn
- The Amazon Resource Name (ARN) of the dataset that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changes
The changes that you want to make to the dataset.
- Parameters:
changes
- The changes that you want to make to the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changes
The changes that you want to make to the dataset.
This is a convenience method that creates an instance of theDatasetChanges.Builder
avoiding the need to create one manually viaDatasetChanges.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochanges(DatasetChanges)
.- Parameters:
changes
- a consumer that will call methods onDatasetChanges.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateDatasetEntriesRequest.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
UpdateDatasetEntriesRequest.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.
-