Interface DescribeUserResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeUserResponse.Builder,
,DescribeUserResponse> SdkBuilder<DescribeUserResponse.Builder,
,DescribeUserResponse> SdkPojo
,SdkResponse.Builder
,TransferResponse.Builder
- Enclosing class:
DescribeUserResponse
public static interface DescribeUserResponse.Builder
extends TransferResponse.Builder, SdkPojo, CopyableBuilder<DescribeUserResponse.Builder,DescribeUserResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA system-assigned unique identifier for a server that has this user assigned.default DescribeUserResponse.Builder
user
(Consumer<DescribedUser.Builder> user) An array containing the properties of the Transfer Family user for theServerID
value that you specified.user
(DescribedUser user) An array containing the properties of the Transfer Family user for theServerID
value that you specified.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.transfer.model.TransferResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
serverId
A system-assigned unique identifier for a server that has this user assigned.
- Parameters:
serverId
- A system-assigned unique identifier for a server that has this user assigned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
user
An array containing the properties of the Transfer Family user for the
ServerID
value that you specified.- Parameters:
user
- An array containing the properties of the Transfer Family user for theServerID
value that you specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
user
An array containing the properties of the Transfer Family user for the
This is a convenience method that creates an instance of theServerID
value that you specified.DescribedUser.Builder
avoiding the need to create one manually viaDescribedUser.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touser(DescribedUser)
.- Parameters:
user
- a consumer that will call methods onDescribedUser.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-