Class CfnFileSystemMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3files.CfnFileSystemMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFileSystemMixinProps>
- Enclosing interface:
CfnFileSystemMixinProps
@Stability(Stable)
public static final class CfnFileSystemMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFileSystemMixinProps>
A builder for
CfnFileSystemMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptBucketWarning(Boolean acceptBucketWarning) Sets the value ofCfnFileSystemMixinProps.getAcceptBucketWarning()acceptBucketWarning(IResolvable acceptBucketWarning) Sets the value ofCfnFileSystemMixinProps.getAcceptBucketWarning()Sets the value ofCfnFileSystemMixinProps.getBucket()build()Builds the configured instance.clientToken(String clientToken) Sets the value ofCfnFileSystemMixinProps.getClientToken()Sets the value ofCfnFileSystemMixinProps.getKmsKeyId()Sets the value ofCfnFileSystemMixinProps.getPrefix()Sets the value ofCfnFileSystemMixinProps.getRoleArn()synchronizationConfiguration(CfnFileSystemPropsMixin.SynchronizationConfigurationProperty synchronizationConfiguration) Sets the value ofCfnFileSystemMixinProps.getSynchronizationConfiguration()synchronizationConfiguration(IResolvable synchronizationConfiguration) Sets the value ofCfnFileSystemMixinProps.getSynchronizationConfiguration()Sets the value ofCfnFileSystemMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acceptBucketWarning
@Stability(Stable) public CfnFileSystemMixinProps.Builder acceptBucketWarning(Boolean acceptBucketWarning) Sets the value ofCfnFileSystemMixinProps.getAcceptBucketWarning()- Parameters:
acceptBucketWarning- the value to be set.- Returns:
this
-
acceptBucketWarning
@Stability(Stable) public CfnFileSystemMixinProps.Builder acceptBucketWarning(IResolvable acceptBucketWarning) Sets the value ofCfnFileSystemMixinProps.getAcceptBucketWarning()- Parameters:
acceptBucketWarning- the value to be set.- Returns:
this
-
bucket
Sets the value ofCfnFileSystemMixinProps.getBucket()- Parameters:
bucket- the value to be set.- Returns:
this
-
clientToken
Sets the value ofCfnFileSystemMixinProps.getClientToken()- Parameters:
clientToken- the value to be set.- Returns:
this
-
kmsKeyId
Sets the value ofCfnFileSystemMixinProps.getKmsKeyId()- Parameters:
kmsKeyId- the value to be set.- Returns:
this
-
prefix
Sets the value ofCfnFileSystemMixinProps.getPrefix()- Parameters:
prefix- the value to be set.- Returns:
this
-
roleArn
Sets the value ofCfnFileSystemMixinProps.getRoleArn()- Parameters:
roleArn- the value to be set.- Returns:
this
-
synchronizationConfiguration
@Stability(Stable) public CfnFileSystemMixinProps.Builder synchronizationConfiguration(IResolvable synchronizationConfiguration) Sets the value ofCfnFileSystemMixinProps.getSynchronizationConfiguration()- Parameters:
synchronizationConfiguration- the value to be set.- Returns:
this
-
synchronizationConfiguration
@Stability(Stable) public CfnFileSystemMixinProps.Builder synchronizationConfiguration(CfnFileSystemPropsMixin.SynchronizationConfigurationProperty synchronizationConfiguration) Sets the value ofCfnFileSystemMixinProps.getSynchronizationConfiguration()- Parameters:
synchronizationConfiguration- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnFileSystemMixinProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFileSystemMixinProps>- Returns:
- a new instance of
CfnFileSystemMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-