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)
Describes which data sources will be enabled for the detector.
|
CreateDetectorRequest.Builder |
dataSources(DataSourceConfigurations dataSources)
Describes which data sources will be enabled for the detector.
|
CreateDetectorRequest.Builder |
enable(Boolean enable)
A Boolean value that specifies whether the detector is to be enabled.
|
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,
FindingPublishingFrequencyCreateDetectorRequest.Builder dataSources(DataSourceConfigurations dataSources)
Describes which data sources will be enabled for the detector.
dataSources - Describes which data sources will be enabled for the detector.default CreateDetectorRequest.Builder dataSources(Consumer<DataSourceConfigurations.Builder> dataSources)
Describes which data sources will be enabled for the detector.
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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateDetectorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.