@Stability(value=Stable) public static final class CfnDetectorProps.Builder extends Object implements software.amazon.jsii.Builder<CfnDetectorProps>
CfnDetectorProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDetectorProps |
build()
Builds the configured instance.
|
CfnDetectorProps.Builder |
dataSources(CfnDetector.CFNDataSourceConfigurationsProperty dataSources)
Sets the value of
CfnDetectorProps.getDataSources() |
CfnDetectorProps.Builder |
dataSources(IResolvable dataSources)
Sets the value of
CfnDetectorProps.getDataSources() |
CfnDetectorProps.Builder |
enable(Boolean enable)
Sets the value of
CfnDetectorProps.getEnable() |
CfnDetectorProps.Builder |
enable(IResolvable enable)
Sets the value of
CfnDetectorProps.getEnable() |
CfnDetectorProps.Builder |
findingPublishingFrequency(String findingPublishingFrequency)
Sets the value of
CfnDetectorProps.getFindingPublishingFrequency() |
CfnDetectorProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnDetectorProps.getTags() |
@Stability(value=Stable) public CfnDetectorProps.Builder enable(Boolean enable)
CfnDetectorProps.getEnable()enable - Specifies whether the detector is to be enabled on creation. This parameter is required.this@Stability(value=Stable) public CfnDetectorProps.Builder enable(IResolvable enable)
CfnDetectorProps.getEnable()enable - Specifies whether the detector is to be enabled on creation. This parameter is required.this@Stability(value=Stable) public CfnDetectorProps.Builder dataSources(IResolvable dataSources)
CfnDetectorProps.getDataSources()dataSources - Describes which data sources will be enabled for the detector.this@Stability(value=Stable) public CfnDetectorProps.Builder dataSources(CfnDetector.CFNDataSourceConfigurationsProperty dataSources)
CfnDetectorProps.getDataSources()dataSources - Describes which data sources will be enabled for the detector.this@Stability(value=Stable) public CfnDetectorProps.Builder findingPublishingFrequency(String findingPublishingFrequency)
CfnDetectorProps.getFindingPublishingFrequency()findingPublishingFrequency - Specifies how frequently updated findings are exported.this@Stability(value=Stable) public CfnDetectorProps.Builder tags(List<? extends CfnTag> tags)
CfnDetectorProps.getTags()tags - The tags to be added to a new detector resource.
Each tag consists of a key and an optional value, both of which you define.
For more information, see Tag .
this@Stability(value=Stable) public CfnDetectorProps build()
build in interface software.amazon.jsii.Builder<CfnDetectorProps>CfnDetectorPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.