Class CfnDetectorPropsMixin.CFNKubernetesAuditLogsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.guardduty.CfnDetectorPropsMixin.CFNKubernetesAuditLogsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetectorPropsMixin.CFNKubernetesAuditLogsConfigurationProperty>
- Enclosing interface:
CfnDetectorPropsMixin.CFNKubernetesAuditLogsConfigurationProperty
@Stability(Stable)
public static final class CfnDetectorPropsMixin.CFNKubernetesAuditLogsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDetectorPropsMixin.CFNKubernetesAuditLogsConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enable(IResolvable enable)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enable
@Stability(Stable) public CfnDetectorPropsMixin.CFNKubernetesAuditLogsConfigurationProperty.Builder enable(Boolean enable) - Parameters:
enable- Describes whether Kubernetes audit logs are enabled as a data source for the detector.- Returns:
this
-
enable
@Stability(Stable) public CfnDetectorPropsMixin.CFNKubernetesAuditLogsConfigurationProperty.Builder enable(IResolvable enable) - Parameters:
enable- Describes whether Kubernetes audit logs are enabled as a data source for the detector.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDetectorPropsMixin.CFNKubernetesAuditLogsConfigurationProperty>- Returns:
- a new instance of
CfnDetectorPropsMixin.CFNKubernetesAuditLogsConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-