Interface CreateAccessPointRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateAccessPointRequest.Builder,
,CreateAccessPointRequest> EfsRequest.Builder
,SdkBuilder<CreateAccessPointRequest.Builder,
,CreateAccessPointRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateAccessPointRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.fileSystemId
(String fileSystemId) The ID of the EFS file system that the access point provides access to.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateAccessPointRequest.Builder
posixUser
(Consumer<PosixUser.Builder> posixUser) The operating system user and group applied to all file system requests made using the access point.The operating system user and group applied to all file system requests made using the access point.default CreateAccessPointRequest.Builder
rootDirectory
(Consumer<RootDirectory.Builder> rootDirectory) Specifies the directory on the EFS file system that the access point exposes as the root directory of your file system to NFS clients using the access point.rootDirectory
(RootDirectory rootDirectory) Specifies the directory on the EFS file system that the access point exposes as the root directory of your file system to NFS clients using the access point.tags
(Collection<Tag> tags) Creates tags associated with the access point.tags
(Consumer<Tag.Builder>... tags) Creates tags associated with the access point.Creates tags associated with the access point.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.efs.model.EfsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clientToken
A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.
- Parameters:
clientToken
- A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Creates tags associated with the access point. Each tag is a key-value pair, each key must be unique. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
- Parameters:
tags
- Creates tags associated with the access point. Each tag is a key-value pair, each key must be unique. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Creates tags associated with the access point. Each tag is a key-value pair, each key must be unique. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
- Parameters:
tags
- Creates tags associated with the access point. Each tag is a key-value pair, each key must be unique. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Creates tags associated with the access point. Each tag is a key-value pair, each key must be unique. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fileSystemId
The ID of the EFS file system that the access point provides access to.
- Parameters:
fileSystemId
- The ID of the EFS file system that the access point provides access to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
posixUser
The operating system user and group applied to all file system requests made using the access point.
- Parameters:
posixUser
- The operating system user and group applied to all file system requests made using the access point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
posixUser
The operating system user and group applied to all file system requests made using the access point.
This is a convenience method that creates an instance of thePosixUser.Builder
avoiding the need to create one manually viaPosixUser.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toposixUser(PosixUser)
.- Parameters:
posixUser
- a consumer that will call methods onPosixUser.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rootDirectory
Specifies the directory on the EFS file system that the access point exposes as the root directory of your file system to NFS clients using the access point. The clients using the access point can only access the root directory and below. If the
RootDirectory
>Path
specified does not exist, Amazon EFS creates it and applies theCreationInfo
settings when a client connects to an access point. When specifying aRootDirectory
, you must provide thePath
, and theCreationInfo
.Amazon EFS creates a root directory only if you have provided the CreationInfo: OwnUid, OwnGID, and permissions for the directory. If you do not provide this information, Amazon EFS does not create the root directory. If the root directory does not exist, attempts to mount using the access point will fail.
- Parameters:
rootDirectory
- Specifies the directory on the EFS file system that the access point exposes as the root directory of your file system to NFS clients using the access point. The clients using the access point can only access the root directory and below. If theRootDirectory
>Path
specified does not exist, Amazon EFS creates it and applies theCreationInfo
settings when a client connects to an access point. When specifying aRootDirectory
, you must provide thePath
, and theCreationInfo
.Amazon EFS creates a root directory only if you have provided the CreationInfo: OwnUid, OwnGID, and permissions for the directory. If you do not provide this information, Amazon EFS does not create the root directory. If the root directory does not exist, attempts to mount using the access point will fail.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rootDirectory
default CreateAccessPointRequest.Builder rootDirectory(Consumer<RootDirectory.Builder> rootDirectory) Specifies the directory on the EFS file system that the access point exposes as the root directory of your file system to NFS clients using the access point. The clients using the access point can only access the root directory and below. If the
RootDirectory
>Path
specified does not exist, Amazon EFS creates it and applies theCreationInfo
settings when a client connects to an access point. When specifying aRootDirectory
, you must provide thePath
, and theCreationInfo
.Amazon EFS creates a root directory only if you have provided the CreationInfo: OwnUid, OwnGID, and permissions for the directory. If you do not provide this information, Amazon EFS does not create the root directory. If the root directory does not exist, attempts to mount using the access point will fail.
This is a convenience method that creates an instance of theRootDirectory.Builder
avoiding the need to create one manually viaRootDirectory.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torootDirectory(RootDirectory)
.- Parameters:
rootDirectory
- a consumer that will call methods onRootDirectory.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateAccessPointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAccessPointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-