Class CfnAccessPointProps.Builder
java.lang.Object
software.amazon.awscdk.services.s3files.CfnAccessPointProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessPointProps>
- Enclosing interface:
CfnAccessPointProps
@Stability(Stable)
public static final class CfnAccessPointProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessPointProps>
A builder for
CfnAccessPointProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.clientToken(String clientToken) Sets the value ofCfnAccessPointProps.getClientToken()fileSystemId(String fileSystemId) Sets the value ofCfnAccessPointProps.getFileSystemId()posixUser(IResolvable posixUser) Sets the value ofCfnAccessPointProps.getPosixUser()posixUser(CfnAccessPoint.PosixUserProperty posixUser) Sets the value ofCfnAccessPointProps.getPosixUser()rootDirectory(IResolvable rootDirectory) Sets the value ofCfnAccessPointProps.getRootDirectory()rootDirectory(CfnAccessPoint.RootDirectoryProperty rootDirectory) Sets the value ofCfnAccessPointProps.getRootDirectory()tags(List<? extends CfnAccessPoint.AccessPointTagProperty> tags) Sets the value ofCfnAccessPointProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fileSystemId
Sets the value ofCfnAccessPointProps.getFileSystemId()- Parameters:
fileSystemId- The ID of the S3 Files file system that the access point provides access to. This parameter is required.- Returns:
this
-
clientToken
Sets the value ofCfnAccessPointProps.getClientToken()- Parameters:
clientToken- (optional) A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.- Returns:
this
-
posixUser
Sets the value ofCfnAccessPointProps.getPosixUser()- Parameters:
posixUser- the value to be set.- Returns:
this
-
posixUser
@Stability(Stable) public CfnAccessPointProps.Builder posixUser(CfnAccessPoint.PosixUserProperty posixUser) Sets the value ofCfnAccessPointProps.getPosixUser()- Parameters:
posixUser- the value to be set.- Returns:
this
-
rootDirectory
Sets the value ofCfnAccessPointProps.getRootDirectory()- Parameters:
rootDirectory- the value to be set.- Returns:
this
-
rootDirectory
@Stability(Stable) public CfnAccessPointProps.Builder rootDirectory(CfnAccessPoint.RootDirectoryProperty rootDirectory) Sets the value ofCfnAccessPointProps.getRootDirectory()- Parameters:
rootDirectory- the value to be set.- Returns:
this
-
tags
@Stability(Stable) public CfnAccessPointProps.Builder tags(List<? extends CfnAccessPoint.AccessPointTagProperty> tags) Sets the value ofCfnAccessPointProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAccessPointProps>- Returns:
- a new instance of
CfnAccessPointProps - Throws:
NullPointerException- if any required attribute was not provided
-