public static interface UpdateDetectorRequest.Builder extends GuardDutyRequest.Builder, SdkPojo, CopyableBuilder<UpdateDetectorRequest.Builder,UpdateDetectorRequest>
| Modifier and Type | Method and Description |
|---|---|
default UpdateDetectorRequest.Builder |
dataSources(Consumer<DataSourceConfigurations.Builder> dataSources)
Deprecated.
This parameter is deprecated, use Features instead
|
UpdateDetectorRequest.Builder |
dataSources(DataSourceConfigurations dataSources)
Deprecated.
This parameter is deprecated, use Features instead
|
UpdateDetectorRequest.Builder |
detectorId(String detectorId)
The unique ID of the detector to update.
|
UpdateDetectorRequest.Builder |
enable(Boolean enable)
Specifies whether the detector is enabled or not enabled.
|
UpdateDetectorRequest.Builder |
features(Collection<DetectorFeatureConfiguration> features)
Provides the features that will be updated for the detector.
|
UpdateDetectorRequest.Builder |
features(Consumer<DetectorFeatureConfiguration.Builder>... features)
Provides the features that will be updated for the detector.
|
UpdateDetectorRequest.Builder |
features(DetectorFeatureConfiguration... features)
Provides the features that will be updated for the detector.
|
UpdateDetectorRequest.Builder |
findingPublishingFrequency(FindingPublishingFrequency findingPublishingFrequency)
An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.
|
UpdateDetectorRequest.Builder |
findingPublishingFrequency(String findingPublishingFrequency)
An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.
|
UpdateDetectorRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateDetectorRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateDetectorRequest.Builder detectorId(String detectorId)
The unique ID of the detector to update.
detectorId - The unique ID of the detector to update.UpdateDetectorRequest.Builder enable(Boolean enable)
Specifies whether the detector is enabled or not enabled.
enable - Specifies whether the detector is enabled or not enabled.UpdateDetectorRequest.Builder findingPublishingFrequency(String findingPublishingFrequency)
An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.
findingPublishingFrequency - An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.FindingPublishingFrequency,
FindingPublishingFrequencyUpdateDetectorRequest.Builder findingPublishingFrequency(FindingPublishingFrequency findingPublishingFrequency)
An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.
findingPublishingFrequency - An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.FindingPublishingFrequency,
FindingPublishingFrequency@Deprecated UpdateDetectorRequest.Builder dataSources(DataSourceConfigurations 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.
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.
@Deprecated default UpdateDetectorRequest.Builder dataSources(Consumer<DataSourceConfigurations.Builder> 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.
This is a convenience method that creates an instance of theDataSourceConfigurations.Builder
avoiding the need to create one manually via DataSourceConfigurations.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to dataSources(DataSourceConfigurations).
dataSources - a consumer that will call methods on DataSourceConfigurations.BuilderdataSources(DataSourceConfigurations)UpdateDetectorRequest.Builder features(Collection<DetectorFeatureConfiguration> features)
Provides the features that will be updated for the detector.
features - Provides the features that will be updated for the detector.UpdateDetectorRequest.Builder features(DetectorFeatureConfiguration... features)
Provides the features that will be updated for the detector.
features - Provides the features that will be updated for the detector.UpdateDetectorRequest.Builder features(Consumer<DetectorFeatureConfiguration.Builder>... 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 via
DetectorFeatureConfiguration.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #features(List.
features - a consumer that will call methods on
DetectorFeatureConfiguration.Builder#features(java.util.Collection) UpdateDetectorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateDetectorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.