Interface UpdateDetectorRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<UpdateDetectorRequest.Builder,,- UpdateDetectorRequest> - GuardDutyRequest.Builder,- SdkBuilder<UpdateDetectorRequest.Builder,,- UpdateDetectorRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- UpdateDetectorRequest
- 
Method SummaryModifier and TypeMethodDescriptiondefault UpdateDetectorRequest.BuilderdataSources(Consumer<DataSourceConfigurations.Builder> dataSources) Deprecated.This parameter is deprecated, use Features insteaddataSources(DataSourceConfigurations dataSources) Deprecated.This parameter is deprecated, use Features insteaddetectorId(String detectorId) The unique ID of the detector to update.Specifies whether the detector is enabled or not enabled.features(Collection<DetectorFeatureConfiguration> features) Provides the features that will be updated for the detector.features(Consumer<DetectorFeatureConfiguration.Builder>... features) Provides the features that will be updated for the detector.features(DetectorFeatureConfiguration... features) Provides the features that will be updated for the detector.findingPublishingFrequency(String findingPublishingFrequency) An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.findingPublishingFrequency(FindingPublishingFrequency findingPublishingFrequency) An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFields
- 
Method Details- 
detectorIdThe unique ID of the detector to update. - Parameters:
- detectorId- The unique ID of the detector to update.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
enableSpecifies whether the detector is enabled or not enabled. - Parameters:
- enable- Specifies whether the detector is enabled or not enabled.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
findingPublishingFrequencyAn enum value that specifies how frequently findings are exported, such as to CloudWatch Events. - Parameters:
- findingPublishingFrequency- An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
findingPublishingFrequencyUpdateDetectorRequest.Builder findingPublishingFrequency(FindingPublishingFrequency findingPublishingFrequency) An enum value that specifies how frequently findings are exported, such as to CloudWatch Events. - Parameters:
- findingPublishingFrequency- An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
dataSourcesDeprecated.This parameter is deprecated, use Features insteadDescribes which data sources will be updated. There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints. - Parameters:
- dataSources- Describes which data sources will be updated.- There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dataSources@Deprecated default UpdateDetectorRequest.Builder dataSources(Consumer<DataSourceConfigurations.Builder> dataSources) Deprecated.This parameter is deprecated, use Features insteadDescribes which data sources will be updated. There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints. This is a convenience method that creates an instance of theDataSourceConfigurations.Builderavoiding the need to create one manually viaDataSourceConfigurations.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSources(DataSourceConfigurations).- Parameters:
- dataSources- a consumer that will call methods on- DataSourceConfigurations.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
featuresProvides the features that will be updated for the detector. - Parameters:
- features- Provides the features that will be updated for the detector.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
featuresProvides the features that will be updated for the detector. - Parameters:
- features- Provides the features that will be updated for the detector.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
featuresProvides the features that will be updated for the detector. This is a convenience method that creates an instance of theDetectorFeatureConfiguration.Builderavoiding the need to create one manually viaDetectorFeatureConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofeatures(List<DetectorFeatureConfiguration>).- Parameters:
- features- a consumer that will call methods on- DetectorFeatureConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationUpdateDetectorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationUpdateDetectorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-