public static interface CreateDetectorRequest.Builder extends GuardDutyRequest.Builder, SdkPojo, CopyableBuilder<CreateDetectorRequest.Builder,CreateDetectorRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateDetectorRequest.Builder |
clientToken(String clientToken)
The idempotency token for the create request.
|
default CreateDetectorRequest.Builder |
dataSources(Consumer<DataSourceConfigurations.Builder> dataSources)
Deprecated.
This parameter is deprecated, use Features instead
|
CreateDetectorRequest.Builder |
dataSources(DataSourceConfigurations dataSources)
Deprecated.
This parameter is deprecated, use Features instead
|
CreateDetectorRequest.Builder |
enable(Boolean enable)
A Boolean value that specifies whether the detector is to be enabled.
|
CreateDetectorRequest.Builder |
features(Collection<DetectorFeatureConfiguration> features)
A list of features that will be configured for the detector.
|
CreateDetectorRequest.Builder |
features(Consumer<DetectorFeatureConfiguration.Builder>... features)
A list of features that will be configured for the detector.
|
CreateDetectorRequest.Builder |
features(DetectorFeatureConfiguration... features)
A list of features that will be configured for the detector.
|
CreateDetectorRequest.Builder |
findingPublishingFrequency(FindingPublishingFrequency findingPublishingFrequency)
A value that specifies how frequently updated findings are exported.
|
CreateDetectorRequest.Builder |
findingPublishingFrequency(String findingPublishingFrequency)
A value that specifies how frequently updated findings are exported.
|
CreateDetectorRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateDetectorRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateDetectorRequest.Builder |
tags(Map<String,String> tags)
The tags to be added to a new detector resource.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateDetectorRequest.Builder enable(Boolean enable)
A Boolean value that specifies whether the detector is to be enabled.
enable - A Boolean value that specifies whether the detector is to be enabled.CreateDetectorRequest.Builder clientToken(String clientToken)
The idempotency token for the create request.
clientToken - The idempotency token for the create request.CreateDetectorRequest.Builder findingPublishingFrequency(String findingPublishingFrequency)
A value that specifies how frequently updated findings are exported.
findingPublishingFrequency - A value that specifies how frequently updated findings are exported.FindingPublishingFrequency,
FindingPublishingFrequencyCreateDetectorRequest.Builder findingPublishingFrequency(FindingPublishingFrequency findingPublishingFrequency)
A value that specifies how frequently updated findings are exported.
findingPublishingFrequency - A value that specifies how frequently updated findings are exported.FindingPublishingFrequency,
FindingPublishingFrequency@Deprecated CreateDetectorRequest.Builder dataSources(DataSourceConfigurations dataSources)
Describes which data sources will be enabled for the detector.
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 enabled for the detector.
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 CreateDetectorRequest.Builder dataSources(Consumer<DataSourceConfigurations.Builder> dataSources)
Describes which data sources will be enabled for the detector.
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)CreateDetectorRequest.Builder tags(Map<String,String> tags)
The tags to be added to a new detector resource.
tags - The tags to be added to a new detector resource.CreateDetectorRequest.Builder features(Collection<DetectorFeatureConfiguration> features)
A list of features that will be configured for the detector.
features - A list of features that will be configured for the detector.CreateDetectorRequest.Builder features(DetectorFeatureConfiguration... features)
A list of features that will be configured for the detector.
features - A list of features that will be configured for the detector.CreateDetectorRequest.Builder features(Consumer<DetectorFeatureConfiguration.Builder>... features)
A list of features that will be configured 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) CreateDetectorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateDetectorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.