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 Summary
Modifier and TypeMethodDescriptiondefault UpdateDetectorRequest.Builder
dataSources
(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.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyRequest.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
-
detectorId
The 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.
-
enable
Specifies 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.
-
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:
-
findingPublishingFrequency
UpdateDetectorRequest.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:
-
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.
- 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.Builder
avoiding the need to create one manually viaDataSourceConfigurations.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataSources(DataSourceConfigurations)
.- Parameters:
dataSources
- a consumer that will call methods onDataSourceConfigurations.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
features
Provides 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.
-
features
Provides 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.
-
features
Provides the features that will be updated for the detector.
This is a convenience method that creates an instance of theDetectorFeatureConfiguration.Builder
avoiding the need to create one manually viaDetectorFeatureConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofeatures(List<DetectorFeatureConfiguration>)
.- Parameters:
features
- a consumer that will call methods onDetectorFeatureConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateDetectorRequest.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
UpdateDetectorRequest.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.
-