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