Class CfnDetectorPropsMixin.CFNKubernetesConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.guardduty.CfnDetectorPropsMixin.CFNKubernetesConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetectorPropsMixin.CFNKubernetesConfigurationProperty>
- Enclosing interface:
CfnDetectorPropsMixin.CFNKubernetesConfigurationProperty
@Stability(Stable)
public static final class CfnDetectorPropsMixin.CFNKubernetesConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDetectorPropsMixin.CFNKubernetesConfigurationProperty>
A builder for
CfnDetectorPropsMixin.CFNKubernetesConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDetectorPropsMixin.CFNKubernetesConfigurationProperty.getAuditLogs()auditLogs(IResolvable auditLogs) Sets the value ofCfnDetectorPropsMixin.CFNKubernetesConfigurationProperty.getAuditLogs()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
auditLogs
@Stability(Stable) public CfnDetectorPropsMixin.CFNKubernetesConfigurationProperty.Builder auditLogs(IResolvable auditLogs) Sets the value ofCfnDetectorPropsMixin.CFNKubernetesConfigurationProperty.getAuditLogs()- Parameters:
auditLogs- Describes whether Kubernetes audit logs are enabled as a data source for the detector.- Returns:
this
-
auditLogs
@Stability(Stable) public CfnDetectorPropsMixin.CFNKubernetesConfigurationProperty.Builder auditLogs(CfnDetectorPropsMixin.CFNKubernetesAuditLogsConfigurationProperty auditLogs) Sets the value ofCfnDetectorPropsMixin.CFNKubernetesConfigurationProperty.getAuditLogs()- Parameters:
auditLogs- 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.CFNKubernetesConfigurationProperty>- Returns:
- a new instance of
CfnDetectorPropsMixin.CFNKubernetesConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-