Class CfnFileSystemPolicyProps.Builder
java.lang.Object
software.amazon.awscdk.services.s3files.CfnFileSystemPolicyProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFileSystemPolicyProps>
- Enclosing interface:
CfnFileSystemPolicyProps
@Stability(Stable)
public static final class CfnFileSystemPolicyProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFileSystemPolicyProps>
A builder for
CfnFileSystemPolicyProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fileSystemId(String fileSystemId) Sets the value ofCfnFileSystemPolicyProps.getFileSystemId()Sets the value ofCfnFileSystemPolicyProps.getPolicy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fileSystemId
Sets the value ofCfnFileSystemPolicyProps.getFileSystemId()- Parameters:
fileSystemId- the value to be set. This parameter is required.- Returns:
this
-
policy
Sets the value ofCfnFileSystemPolicyProps.getPolicy()- Parameters:
policy- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFileSystemPolicyProps>- Returns:
- a new instance of
CfnFileSystemPolicyProps - Throws:
NullPointerException- if any required attribute was not provided
-