Class CfnDetectorPropsMixin.CFNDataSourceConfigurationsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.guardduty.CfnDetectorPropsMixin.CFNDataSourceConfigurationsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetectorPropsMixin.CFNDataSourceConfigurationsProperty>
- Enclosing interface:
CfnDetectorPropsMixin.CFNDataSourceConfigurationsProperty
@Stability(Stable)
public static final class CfnDetectorPropsMixin.CFNDataSourceConfigurationsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDetectorPropsMixin.CFNDataSourceConfigurationsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.kubernetes(IResolvable kubernetes) malwareProtection(CfnDetectorPropsMixin.CFNMalwareProtectionConfigurationProperty malwareProtection) malwareProtection(IResolvable malwareProtection) Sets the value ofCfnDetectorPropsMixin.CFNDataSourceConfigurationsProperty.getS3Logs()s3Logs(IResolvable s3Logs) Sets the value ofCfnDetectorPropsMixin.CFNDataSourceConfigurationsProperty.getS3Logs()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kubernetes
@Stability(Stable) public CfnDetectorPropsMixin.CFNDataSourceConfigurationsProperty.Builder kubernetes(IResolvable kubernetes) - Parameters:
kubernetes- Describes which Kubernetes data sources are enabled for a detector.- Returns:
this
-
kubernetes
@Stability(Stable) public CfnDetectorPropsMixin.CFNDataSourceConfigurationsProperty.Builder kubernetes(CfnDetectorPropsMixin.CFNKubernetesConfigurationProperty kubernetes) - Parameters:
kubernetes- Describes which Kubernetes data sources are enabled for a detector.- Returns:
this
-
malwareProtection
@Stability(Stable) public CfnDetectorPropsMixin.CFNDataSourceConfigurationsProperty.Builder malwareProtection(IResolvable malwareProtection) - Parameters:
malwareProtection- Describes whether Malware Protection will be enabled as a data source.- Returns:
this
-
malwareProtection
@Stability(Stable) public CfnDetectorPropsMixin.CFNDataSourceConfigurationsProperty.Builder malwareProtection(CfnDetectorPropsMixin.CFNMalwareProtectionConfigurationProperty malwareProtection) - Parameters:
malwareProtection- Describes whether Malware Protection will be enabled as a data source.- Returns:
this
-
s3Logs
@Stability(Stable) public CfnDetectorPropsMixin.CFNDataSourceConfigurationsProperty.Builder s3Logs(IResolvable s3Logs) Sets the value ofCfnDetectorPropsMixin.CFNDataSourceConfigurationsProperty.getS3Logs()- Parameters:
s3Logs- Describes whether S3 data event logs are enabled as a data source.- Returns:
this
-
s3Logs
@Stability(Stable) public CfnDetectorPropsMixin.CFNDataSourceConfigurationsProperty.Builder s3Logs(CfnDetectorPropsMixin.CFNS3LogsConfigurationProperty s3Logs) Sets the value ofCfnDetectorPropsMixin.CFNDataSourceConfigurationsProperty.getS3Logs()- Parameters:
s3Logs- Describes whether S3 data event logs are enabled as a data source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDetectorPropsMixin.CFNDataSourceConfigurationsProperty>- Returns:
- a new instance of
CfnDetectorPropsMixin.CFNDataSourceConfigurationsProperty - Throws:
NullPointerException- if any required attribute was not provided
-