public static interface UpdateUserRequest.Builder extends TransferRequest.Builder, SdkPojo, CopyableBuilder<UpdateUserRequest.Builder,UpdateUserRequest>
Modifier and Type | Method and Description |
---|---|
UpdateUserRequest.Builder |
homeDirectory(String homeDirectory)
The HomeDirectory parameter specifies the landing directory (folder) for a user when they log in to the
server using their client.
|
UpdateUserRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateUserRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateUserRequest.Builder |
policy(String policy)
Allows you to supply a scope-down policy for your user so you can use the same AWS Identity and Access
Management (IAM) role across multiple users.
|
UpdateUserRequest.Builder |
role(String role)
The IAM role that controls your user’s access to your Amazon S3 bucket.
|
UpdateUserRequest.Builder |
serverId(String serverId)
A system-assigned unique identifier for an SFTP server instance that the user account is assigned to.
|
UpdateUserRequest.Builder |
userName(String userName)
A unique string that identifies a user and is associated with a server as specified by the ServerId.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateUserRequest.Builder homeDirectory(String homeDirectory)
The HomeDirectory parameter specifies the landing directory (folder) for a user when they log in to the
server using their client. An example would be: /home/username
.
homeDirectory
- The HomeDirectory parameter specifies the landing directory (folder) for a user when they log in to
the server using their client. An example would be: /home/username
.UpdateUserRequest.Builder policy(String policy)
Allows you to supply a scope-down policy for your user so you can use the same AWS Identity and Access
Management (IAM) role across multiple users. The policy scopes down users access to portions of your Amazon
S3 bucket. Variables you can use inside this policy include ${Transfer:UserName}
,
${Transfer:HomeDirectory}
, and ${Transfer:HomeBucket}
.
policy
- Allows you to supply a scope-down policy for your user so you can use the same AWS Identity and Access
Management (IAM) role across multiple users. The policy scopes down users access to portions of your
Amazon S3 bucket. Variables you can use inside this policy include ${Transfer:UserName}
,
${Transfer:HomeDirectory}
, and ${Transfer:HomeBucket}
.UpdateUserRequest.Builder role(String role)
The IAM role that controls your user’s access to your Amazon S3 bucket. The policies attached to this role will determine the level of access you want to provide your users when transferring files into and out of your Amazon S3 bucket or buckets. The IAM role should also contain a trust relationship that allows the Secure File Transfer Protocol (SFTP) server to access your resources when servicing your SFTP user’s transfer requests.
role
- The IAM role that controls your user’s access to your Amazon S3 bucket. The policies attached to this
role will determine the level of access you want to provide your users when transferring files into
and out of your Amazon S3 bucket or buckets. The IAM role should also contain a trust relationship
that allows the Secure File Transfer Protocol (SFTP) server to access your resources when servicing
your SFTP user’s transfer requests.UpdateUserRequest.Builder serverId(String serverId)
A system-assigned unique identifier for an SFTP server instance that the user account is assigned to.
serverId
- A system-assigned unique identifier for an SFTP server instance that the user account is assigned to.UpdateUserRequest.Builder userName(String userName)
A unique string that identifies a user and is associated with a server as specified by the ServerId. This is the string that will be used by your user when they log in to your SFTP server.
userName
- A unique string that identifies a user and is associated with a server as specified by the ServerId.
This is the string that will be used by your user when they log in to your SFTP server.UpdateUserRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateUserRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.