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