Class GuarddutyDetectorDatasources.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.guardduty_detector.GuarddutyDetectorDatasources.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GuarddutyDetectorDatasources>
- Enclosing interface:
- GuarddutyDetectorDatasources
@Stability(Stable) public static final class GuarddutyDetectorDatasources.Builder extends Object implements software.amazon.jsii.Builder<GuarddutyDetectorDatasources>
A builder forGuarddutyDetectorDatasources
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GuarddutyDetectorDatasourcesbuild()Builds the configured instance.GuarddutyDetectorDatasources.Builderkubernetes(GuarddutyDetectorDatasourcesKubernetes kubernetes)Sets the value ofGuarddutyDetectorDatasources.getKubernetes()GuarddutyDetectorDatasources.BuildermalwareProtection(GuarddutyDetectorDatasourcesMalwareProtection malwareProtection)Sets the value ofGuarddutyDetectorDatasources.getMalwareProtection()GuarddutyDetectorDatasources.Builders3Logs(GuarddutyDetectorDatasourcesS3Logs s3Logs)Sets the value ofGuarddutyDetectorDatasources.getS3Logs()
-
-
-
Method Detail
-
kubernetes
@Stability(Stable) public GuarddutyDetectorDatasources.Builder kubernetes(GuarddutyDetectorDatasourcesKubernetes kubernetes)
Sets the value ofGuarddutyDetectorDatasources.getKubernetes()- Parameters:
kubernetes- kubernetes block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/guardduty_detector#kubernetes GuarddutyDetector#kubernetes}- Returns:
this
-
malwareProtection
@Stability(Stable) public GuarddutyDetectorDatasources.Builder malwareProtection(GuarddutyDetectorDatasourcesMalwareProtection malwareProtection)
Sets the value ofGuarddutyDetectorDatasources.getMalwareProtection()- Parameters:
malwareProtection- malware_protection block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/guardduty_detector#malware_protection GuarddutyDetector#malware_protection}- Returns:
this
-
s3Logs
@Stability(Stable) public GuarddutyDetectorDatasources.Builder s3Logs(GuarddutyDetectorDatasourcesS3Logs s3Logs)
Sets the value ofGuarddutyDetectorDatasources.getS3Logs()- Parameters:
s3Logs- s3_logs block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/guardduty_detector#s3_logs GuarddutyDetector#s3_logs}- Returns:
this
-
build
@Stability(Stable) public GuarddutyDetectorDatasources build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GuarddutyDetectorDatasources>- Returns:
- a new instance of
GuarddutyDetectorDatasources - Throws:
NullPointerException- if any required attribute was not provided
-
-