Class CfnMalwareProtectionPlan.CFNProtectedResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.guardduty.CfnMalwareProtectionPlan.CFNProtectedResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMalwareProtectionPlan.CFNProtectedResourceProperty>
- Enclosing interface:
CfnMalwareProtectionPlan.CFNProtectedResourceProperty
@Stability(Stable)
public static final class CfnMalwareProtectionPlan.CFNProtectedResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMalwareProtectionPlan.CFNProtectedResourceProperty>
A builder for
CfnMalwareProtectionPlan.CFNProtectedResourceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.s3Bucket
(IResolvable s3Bucket) Sets the value ofCfnMalwareProtectionPlan.CFNProtectedResourceProperty.getS3Bucket()
Sets the value ofCfnMalwareProtectionPlan.CFNProtectedResourceProperty.getS3Bucket()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3Bucket
@Stability(Stable) public CfnMalwareProtectionPlan.CFNProtectedResourceProperty.Builder s3Bucket(IResolvable s3Bucket) Sets the value ofCfnMalwareProtectionPlan.CFNProtectedResourceProperty.getS3Bucket()
- Parameters:
s3Bucket
- Information about the protected S3 bucket resource. This parameter is required.- Returns:
this
-
s3Bucket
@Stability(Stable) public CfnMalwareProtectionPlan.CFNProtectedResourceProperty.Builder s3Bucket(CfnMalwareProtectionPlan.S3BucketProperty s3Bucket) Sets the value ofCfnMalwareProtectionPlan.CFNProtectedResourceProperty.getS3Bucket()
- Parameters:
s3Bucket
- Information about the protected S3 bucket resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMalwareProtectionPlan.CFNProtectedResourceProperty>
- Returns:
- a new instance of
CfnMalwareProtectionPlan.CFNProtectedResourceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-