Class CfnDetector.CFNKubernetesConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.guardduty.CfnDetector.CFNKubernetesConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetector.CFNKubernetesConfigurationProperty>
- Enclosing interface:
CfnDetector.CFNKubernetesConfigurationProperty
@Stability(Stable)
public static final class CfnDetector.CFNKubernetesConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDetector.CFNKubernetesConfigurationProperty>
A builder for
CfnDetector.CFNKubernetesConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauditLogs
(IResolvable auditLogs) Sets the value ofCfnDetector.CFNKubernetesConfigurationProperty.getAuditLogs()
Sets the value ofCfnDetector.CFNKubernetesConfigurationProperty.getAuditLogs()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
auditLogs
@Stability(Stable) public CfnDetector.CFNKubernetesConfigurationProperty.Builder auditLogs(IResolvable auditLogs) Sets the value ofCfnDetector.CFNKubernetesConfigurationProperty.getAuditLogs()
- Parameters:
auditLogs
- Describes whether Kubernetes audit logs are enabled as a data source for the detector. This parameter is required.- Returns:
this
-
auditLogs
@Stability(Stable) public CfnDetector.CFNKubernetesConfigurationProperty.Builder auditLogs(CfnDetector.CFNKubernetesAuditLogsConfigurationProperty auditLogs) Sets the value ofCfnDetector.CFNKubernetesConfigurationProperty.getAuditLogs()
- Parameters:
auditLogs
- Describes whether Kubernetes audit logs are enabled as a data source for the detector. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDetector.CFNKubernetesConfigurationProperty>
- Returns:
- a new instance of
CfnDetector.CFNKubernetesConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-