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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeUserResponse.BuilderserverId(String serverId)A 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.DescribeUserResponse.Builderuser(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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 Detail
-
serverId
DescribeUserResponse.Builder serverId(String 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
DescribeUserResponse.Builder user(DescribedUser 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
default DescribeUserResponse.Builder user(Consumer<DescribedUser.Builder> 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:
user(DescribedUser)
-
-