Interface CreateAccessPointRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAccessPointRequest.Builder,CreateAccessPointRequest>,EfsRequest.Builder,SdkBuilder<CreateAccessPointRequest.Builder,CreateAccessPointRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateAccessPointRequest
public static interface CreateAccessPointRequest.Builder extends EfsRequest.Builder, SdkPojo, CopyableBuilder<CreateAccessPointRequest.Builder,CreateAccessPointRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateAccessPointRequest.BuilderclientToken(String clientToken)A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.CreateAccessPointRequest.BuilderfileSystemId(String fileSystemId)The ID of the EFS file system that the access point provides access to.CreateAccessPointRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateAccessPointRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateAccessPointRequest.BuilderposixUser(Consumer<PosixUser.Builder> posixUser)The operating system user and group applied to all file system requests made using the access point.CreateAccessPointRequest.BuilderposixUser(PosixUser posixUser)The operating system user and group applied to all file system requests made using the access point.default CreateAccessPointRequest.BuilderrootDirectory(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.CreateAccessPointRequest.BuilderrootDirectory(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.CreateAccessPointRequest.Buildertags(Collection<Tag> tags)Creates tags associated with the access point.CreateAccessPointRequest.Buildertags(Consumer<Tag.Builder>... tags)Creates tags associated with the access point.CreateAccessPointRequest.Buildertags(Tag... tags)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
clientToken
CreateAccessPointRequest.Builder clientToken(String 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
CreateAccessPointRequest.Builder tags(Collection<Tag> 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
CreateAccessPointRequest.Builder tags(Tag... 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
CreateAccessPointRequest.Builder tags(Consumer<Tag.Builder>... 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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
fileSystemId
CreateAccessPointRequest.Builder fileSystemId(String 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
CreateAccessPointRequest.Builder posixUser(PosixUser 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
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.
This is a convenience method that creates an instance of thePosixUser.Builderavoiding the need to create one manually viaPosixUser.builder().When the
Consumercompletes,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:
posixUser(PosixUser)
-
rootDirectory
CreateAccessPointRequest.Builder 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. The clients using the access point can only access the root directory and below. If the
RootDirectory>Pathspecified does not exist, Amazon EFS creates it and applies theCreationInfosettings 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>Pathspecified does not exist, Amazon EFS creates it and applies theCreationInfosettings 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>Pathspecified does not exist, Amazon EFS creates it and applies theCreationInfosettings 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.Builderavoiding the need to create one manually viaRootDirectory.builder().When the
Consumercompletes,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:
rootDirectory(RootDirectory)
-
overrideConfiguration
CreateAccessPointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateAccessPointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-