Interface UpdateStreamProcessorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateStreamProcessorRequest.Builder,,UpdateStreamProcessorRequest> RekognitionRequest.Builder,SdkBuilder<UpdateStreamProcessorRequest.Builder,,UpdateStreamProcessorRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateStreamProcessorRequest
-
Method Summary
Modifier and TypeMethodDescriptiondataSharingPreferenceForUpdate(Consumer<StreamProcessorDataSharingPreference.Builder> dataSharingPreferenceForUpdate) Shows whether you are sharing data with Rekognition to improve model performance.dataSharingPreferenceForUpdate(StreamProcessorDataSharingPreference dataSharingPreferenceForUpdate) Shows whether you are sharing data with Rekognition to improve model performance.Name of the stream processor 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.parametersToDelete(Collection<StreamProcessorParameterToDelete> parametersToDelete) A list of parameters you want to delete from the stream processor.parametersToDelete(StreamProcessorParameterToDelete... parametersToDelete) A list of parameters you want to delete from the stream processor.parametersToDeleteWithStrings(String... parametersToDelete) A list of parameters you want to delete from the stream processor.parametersToDeleteWithStrings(Collection<String> parametersToDelete) A list of parameters you want to delete from the stream processor.regionsOfInterestForUpdate(Collection<RegionOfInterest> regionsOfInterestForUpdate) Specifies locations in the frames where Amazon Rekognition checks for objects or people.regionsOfInterestForUpdate(Consumer<RegionOfInterest.Builder>... regionsOfInterestForUpdate) Specifies locations in the frames where Amazon Rekognition checks for objects or people.regionsOfInterestForUpdate(RegionOfInterest... regionsOfInterestForUpdate) Specifies locations in the frames where Amazon Rekognition checks for objects or people.settingsForUpdate(Consumer<StreamProcessorSettingsForUpdate.Builder> settingsForUpdate) The stream processor settings that you want to update.settingsForUpdate(StreamProcessorSettingsForUpdate settingsForUpdate) The stream processor settings that you want to update.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.rekognition.model.RekognitionRequest.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
-
name
Name of the stream processor that you want to update.
- Parameters:
name- Name of the stream processor that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settingsForUpdate
UpdateStreamProcessorRequest.Builder settingsForUpdate(StreamProcessorSettingsForUpdate settingsForUpdate) The stream processor settings that you want to update. Label detection settings can be updated to detect different labels with a different minimum confidence.
- Parameters:
settingsForUpdate- The stream processor settings that you want to update. Label detection settings can be updated to detect different labels with a different minimum confidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settingsForUpdate
default UpdateStreamProcessorRequest.Builder settingsForUpdate(Consumer<StreamProcessorSettingsForUpdate.Builder> settingsForUpdate) The stream processor settings that you want to update. Label detection settings can be updated to detect different labels with a different minimum confidence.
This is a convenience method that creates an instance of theStreamProcessorSettingsForUpdate.Builderavoiding the need to create one manually viaStreamProcessorSettingsForUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosettingsForUpdate(StreamProcessorSettingsForUpdate).- Parameters:
settingsForUpdate- a consumer that will call methods onStreamProcessorSettingsForUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
regionsOfInterestForUpdate
UpdateStreamProcessorRequest.Builder regionsOfInterestForUpdate(Collection<RegionOfInterest> regionsOfInterestForUpdate) Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.
- Parameters:
regionsOfInterestForUpdate- Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionsOfInterestForUpdate
UpdateStreamProcessorRequest.Builder regionsOfInterestForUpdate(RegionOfInterest... regionsOfInterestForUpdate) Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.
- Parameters:
regionsOfInterestForUpdate- Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionsOfInterestForUpdate
UpdateStreamProcessorRequest.Builder regionsOfInterestForUpdate(Consumer<RegionOfInterest.Builder>... regionsOfInterestForUpdate) Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.
This is a convenience method that creates an instance of theRegionOfInterest.Builderavoiding the need to create one manually viaRegionOfInterest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toregionsOfInterestForUpdate(List<RegionOfInterest>).- Parameters:
regionsOfInterestForUpdate- a consumer that will call methods onRegionOfInterest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataSharingPreferenceForUpdate
UpdateStreamProcessorRequest.Builder dataSharingPreferenceForUpdate(StreamProcessorDataSharingPreference dataSharingPreferenceForUpdate) Shows whether you are sharing data with Rekognition to improve model performance. You can choose this option at the account level or on a per-stream basis. Note that if you opt out at the account level this setting is ignored on individual streams.
- Parameters:
dataSharingPreferenceForUpdate- Shows whether you are sharing data with Rekognition to improve model performance. You can choose this option at the account level or on a per-stream basis. Note that if you opt out at the account level this setting is ignored on individual streams.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSharingPreferenceForUpdate
default UpdateStreamProcessorRequest.Builder dataSharingPreferenceForUpdate(Consumer<StreamProcessorDataSharingPreference.Builder> dataSharingPreferenceForUpdate) Shows whether you are sharing data with Rekognition to improve model performance. You can choose this option at the account level or on a per-stream basis. Note that if you opt out at the account level this setting is ignored on individual streams.
This is a convenience method that creates an instance of theStreamProcessorDataSharingPreference.Builderavoiding the need to create one manually viaStreamProcessorDataSharingPreference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSharingPreferenceForUpdate(StreamProcessorDataSharingPreference).- Parameters:
dataSharingPreferenceForUpdate- a consumer that will call methods onStreamProcessorDataSharingPreference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parametersToDeleteWithStrings
UpdateStreamProcessorRequest.Builder parametersToDeleteWithStrings(Collection<String> parametersToDelete) A list of parameters you want to delete from the stream processor.
- Parameters:
parametersToDelete- A list of parameters you want to delete from the stream processor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parametersToDeleteWithStrings
A list of parameters you want to delete from the stream processor.
- Parameters:
parametersToDelete- A list of parameters you want to delete from the stream processor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parametersToDelete
UpdateStreamProcessorRequest.Builder parametersToDelete(Collection<StreamProcessorParameterToDelete> parametersToDelete) A list of parameters you want to delete from the stream processor.
- Parameters:
parametersToDelete- A list of parameters you want to delete from the stream processor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parametersToDelete
UpdateStreamProcessorRequest.Builder parametersToDelete(StreamProcessorParameterToDelete... parametersToDelete) A list of parameters you want to delete from the stream processor.
- Parameters:
parametersToDelete- A list of parameters you want to delete from the stream processor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateStreamProcessorRequest.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
UpdateStreamProcessorRequest.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.
-