Interface AwsGuardDutyDetectorDataSourcesKubernetesDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsGuardDutyDetectorDataSourcesKubernetesDetails.Builder,,AwsGuardDutyDetectorDataSourcesKubernetesDetails> SdkBuilder<AwsGuardDutyDetectorDataSourcesKubernetesDetails.Builder,,AwsGuardDutyDetectorDataSourcesKubernetesDetails> SdkPojo
- Enclosing class:
AwsGuardDutyDetectorDataSourcesKubernetesDetails
public static interface AwsGuardDutyDetectorDataSourcesKubernetesDetails.Builder
extends SdkPojo, CopyableBuilder<AwsGuardDutyDetectorDataSourcesKubernetesDetails.Builder,AwsGuardDutyDetectorDataSourcesKubernetesDetails>
-
Method Summary
Modifier and TypeMethodDescriptionDescribes whether Kubernetes audit logs are activated as a data source for the detector.Describes whether Kubernetes audit logs are activated as a data source for the detector.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
auditLogs
AwsGuardDutyDetectorDataSourcesKubernetesDetails.Builder auditLogs(AwsGuardDutyDetectorDataSourcesKubernetesAuditLogsDetails auditLogs) Describes whether Kubernetes audit logs are activated as a data source for the detector.
- Parameters:
auditLogs- Describes whether Kubernetes audit logs are activated as a data source for the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
auditLogs
default AwsGuardDutyDetectorDataSourcesKubernetesDetails.Builder auditLogs(Consumer<AwsGuardDutyDetectorDataSourcesKubernetesAuditLogsDetails.Builder> auditLogs) Describes whether Kubernetes audit logs are activated as a data source for the detector.
This is a convenience method that creates an instance of theAwsGuardDutyDetectorDataSourcesKubernetesAuditLogsDetails.Builderavoiding the need to create one manually viaAwsGuardDutyDetectorDataSourcesKubernetesAuditLogsDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauditLogs(AwsGuardDutyDetectorDataSourcesKubernetesAuditLogsDetails).- Parameters:
auditLogs- a consumer that will call methods onAwsGuardDutyDetectorDataSourcesKubernetesAuditLogsDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-