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.Builderuser(Consumer<DescribedUser.Builder> user) An array containing the properties of the Transfer Family user for theServerIDvalue that you specified.user(DescribedUser user) An array containing the properties of the Transfer Family user for theServerIDvalue that you specified.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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
ServerIDvalue that you specified.- Parameters:
user- An array containing the properties of the Transfer Family user for theServerIDvalue 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 theServerIDvalue that you specified.DescribedUser.Builderavoiding the need to create one manually viaDescribedUser.builder().When the
Consumercompletes,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:
-