Interface CreateAccessPointRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAccessPointRequest.Builder,,CreateAccessPointRequest> S3FilesRequest.Builder,SdkBuilder<CreateAccessPointRequest.Builder,,CreateAccessPointRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateAccessPointRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier to ensure that the operation completes no more than one time.fileSystemId(String fileSystemId) The ID or Amazon Resource Name (ARN) of the S3 File System.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateAccessPointRequest.BuilderposixUser(Consumer<PosixUser.Builder> posixUser) The POSIX identity with uid, gid, and secondary group IDs for user enforcement when accessing the file system through this access point.The POSIX identity with uid, gid, and secondary group IDs for user enforcement when accessing the file system through this access point.default CreateAccessPointRequest.BuilderrootDirectory(Consumer<RootDirectory.Builder> rootDirectory) The root directory path for the access point, with optional creation permissions for newly created directories.rootDirectory(RootDirectory rootDirectory) The root directory path for the access point, with optional creation permissions for newly created directories.tags(Collection<Tag> tags) An array of key-value pairs to apply to the access point for resource tagging.tags(Consumer<Tag.Builder>... tags) An array of key-value pairs to apply to the access point for resource tagging.An array of key-value pairs to apply to the access point for resource tagging.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3files.model.S3FilesRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientToken
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Web Services ignores the request, but does not return an error.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Web Services ignores the request, but does not return an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of key-value pairs to apply to the access point for resource tagging.
- Parameters:
tags- An array of key-value pairs to apply to the access point for resource tagging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of key-value pairs to apply to the access point for resource tagging.
- Parameters:
tags- An array of key-value pairs to apply to the access point for resource tagging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of key-value pairs to apply to the access point for resource tagging.
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 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 or Amazon Resource Name (ARN) of the S3 File System.
- Parameters:
fileSystemId- The ID or Amazon Resource Name (ARN) of the S3 File System.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
posixUser
The POSIX identity with uid, gid, and secondary group IDs for user enforcement when accessing the file system through this access point.
- Parameters:
posixUser- The POSIX identity with uid, gid, and secondary group IDs for user enforcement when accessing the file system through this access point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
posixUser
The POSIX identity with uid, gid, and secondary group IDs for user enforcement when accessing the file system through this 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:
-
rootDirectory
The root directory path for the access point, with optional creation permissions for newly created directories.
- Parameters:
rootDirectory- The root directory path for the access point, with optional creation permissions for newly created directories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rootDirectory
default CreateAccessPointRequest.Builder rootDirectory(Consumer<RootDirectory.Builder> rootDirectory) The root directory path for the access point, with optional creation permissions for newly created directories.
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:
-
overrideConfiguration
CreateAccessPointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-