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