Class CfnDetectorPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.guardduty.CfnDetectorPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetectorPropsMixin>
- Enclosing class:
CfnDetectorPropsMixin
@Stability(Stable)
public static final class CfnDetectorPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDetectorPropsMixin>
A fluent builder for
CfnDetectorPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) Describes which data sources will be enabled for the detector.dataSources(IResolvable dataSources) Describes which data sources will be enabled for the detector.Specifies whether the detector is to be enabled on creation.enable(IResolvable enable) Specifies whether the detector is to be enabled on creation.A list of features that will be configured for the detector.features(IResolvable features) A list of features that will be configured for the detector.findingPublishingFrequency(String findingPublishingFrequency) Specifies how frequently updated findings are exported.tags(List<? extends CfnDetectorPropsMixin.TagItemProperty> tags) Specifies tags added to a new detector resource.
-
Method Details
-
create
@Stability(Stable) public static CfnDetectorPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDetectorPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDetectorPropsMixin.Builder.
-
dataSources
Describes which data sources will be enabled for the detector.- Parameters:
dataSources- Describes which data sources will be enabled for the detector. This parameter is required.- Returns:
this- See Also:
-
dataSources
@Stability(Stable) public CfnDetectorPropsMixin.Builder dataSources(CfnDetectorPropsMixin.CFNDataSourceConfigurationsProperty dataSources) Describes which data sources will be enabled for the detector.- Parameters:
dataSources- Describes which data sources will be enabled for the detector. This parameter is required.- Returns:
this- See Also:
-
enable
Specifies whether the detector is to be enabled on creation.- Parameters:
enable- Specifies whether the detector is to be enabled on creation. This parameter is required.- Returns:
this- See Also:
-
enable
Specifies whether the detector is to be enabled on creation.- Parameters:
enable- Specifies whether the detector is to be enabled on creation. This parameter is required.- Returns:
this- See Also:
-
features
A list of features that will be configured for the detector.- Parameters:
features- A list of features that will be configured for the detector. This parameter is required.- Returns:
this- See Also:
-
features
A list of features that will be configured for the detector.- Parameters:
features- A list of features that will be configured for the detector. This parameter is required.- Returns:
this- See Also:
-
findingPublishingFrequency
@Stability(Stable) public CfnDetectorPropsMixin.Builder findingPublishingFrequency(String findingPublishingFrequency) Specifies how frequently updated findings are exported.- Parameters:
findingPublishingFrequency- Specifies how frequently updated findings are exported. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnDetectorPropsMixin.Builder tags(List<? extends CfnDetectorPropsMixin.TagItemProperty> tags) Specifies tags added to a new detector resource.Each tag consists of a key and an optional value, both of which you define.
Currently, support is available only for creating and deleting a tag. No support exists for updating the tags.
For more information, see Tag .
- Parameters:
tags- Specifies tags added to a new detector resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDetectorPropsMixin>- Returns:
- a newly built instance of
CfnDetectorPropsMixin.
-