Class CfnVerifiedAccessInstancePropsMixin.S3Property.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnVerifiedAccessInstancePropsMixin.S3Property.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVerifiedAccessInstancePropsMixin.S3Property>
- Enclosing interface:
CfnVerifiedAccessInstancePropsMixin.S3Property
@Stability(Stable)
public static final class CfnVerifiedAccessInstancePropsMixin.S3Property.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVerifiedAccessInstancePropsMixin.S3Property>
A builder for
CfnVerifiedAccessInstancePropsMixin.S3Property-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) Sets the value ofCfnVerifiedAccessInstancePropsMixin.S3Property.getBucketName()bucketOwner(String bucketOwner) Sets the value ofCfnVerifiedAccessInstancePropsMixin.S3Property.getBucketOwner()build()Builds the configured instance.Sets the value ofCfnVerifiedAccessInstancePropsMixin.S3Property.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnVerifiedAccessInstancePropsMixin.S3Property.getEnabled()Sets the value ofCfnVerifiedAccessInstancePropsMixin.S3Property.getPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
@Stability(Stable) public CfnVerifiedAccessInstancePropsMixin.S3Property.Builder bucketName(String bucketName) Sets the value ofCfnVerifiedAccessInstancePropsMixin.S3Property.getBucketName()- Parameters:
bucketName- The bucket name.- Returns:
this
-
bucketOwner
@Stability(Stable) public CfnVerifiedAccessInstancePropsMixin.S3Property.Builder bucketOwner(String bucketOwner) Sets the value ofCfnVerifiedAccessInstancePropsMixin.S3Property.getBucketOwner()- Parameters:
bucketOwner- The AWS account number that owns the bucket.- Returns:
this
-
enabled
@Stability(Stable) public CfnVerifiedAccessInstancePropsMixin.S3Property.Builder enabled(Boolean enabled) Sets the value ofCfnVerifiedAccessInstancePropsMixin.S3Property.getEnabled()- Parameters:
enabled- Indicates whether logging is enabled.- Returns:
this
-
enabled
@Stability(Stable) public CfnVerifiedAccessInstancePropsMixin.S3Property.Builder enabled(IResolvable enabled) Sets the value ofCfnVerifiedAccessInstancePropsMixin.S3Property.getEnabled()- Parameters:
enabled- Indicates whether logging is enabled.- Returns:
this
-
prefix
@Stability(Stable) public CfnVerifiedAccessInstancePropsMixin.S3Property.Builder prefix(String prefix) Sets the value ofCfnVerifiedAccessInstancePropsMixin.S3Property.getPrefix()- Parameters:
prefix- The bucket prefix.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVerifiedAccessInstancePropsMixin.S3Property>- Returns:
- a new instance of
CfnVerifiedAccessInstancePropsMixin.S3Property - Throws:
NullPointerException- if any required attribute was not provided
-