Class CfnDetector.CFNS3LogsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.guardduty.CfnDetector.CFNS3LogsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetector.CFNS3LogsConfigurationProperty>
- Enclosing interface:
- CfnDetector.CFNS3LogsConfigurationProperty
@Stability(Stable)
public static final class CfnDetector.CFNS3LogsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDetector.CFNS3LogsConfigurationProperty>
A builder for
CfnDetector.CFNS3LogsConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDetector.CFNS3LogsConfigurationProperty.getEnable()enable(IResolvable enable) Sets the value ofCfnDetector.CFNS3LogsConfigurationProperty.getEnable()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enable
Sets the value ofCfnDetector.CFNS3LogsConfigurationProperty.getEnable()- Parameters:
enable- The status of S3 data event logs as a data source.- Returns:
this
-
enable
@Stability(Stable) public CfnDetector.CFNS3LogsConfigurationProperty.Builder enable(IResolvable enable) Sets the value ofCfnDetector.CFNS3LogsConfigurationProperty.getEnable()- Parameters:
enable- The status of S3 data event logs as a data source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDetector.CFNS3LogsConfigurationProperty>- Returns:
- a new instance of
CfnDetector.CFNS3LogsConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-