Interface GetCurrentUserDataResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectResponse.Builder
,CopyableBuilder<GetCurrentUserDataResponse.Builder,
,GetCurrentUserDataResponse> SdkBuilder<GetCurrentUserDataResponse.Builder,
,GetCurrentUserDataResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetCurrentUserDataResponse
public static interface GetCurrentUserDataResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<GetCurrentUserDataResponse.Builder,GetCurrentUserDataResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapproximateTotalCount
(Long approximateTotalCount) The total count of the result, regardless of the current page size.If there are additional results, this is the token for the next set of results.userDataList
(Collection<UserData> userDataList) A list of the user data that is returned.userDataList
(Consumer<UserData.Builder>... userDataList) A list of the user data that is returned.userDataList
(UserData... userDataList) A list of the user data that is returned.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
nextToken
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken
- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userDataList
A list of the user data that is returned.
- Parameters:
userDataList
- A list of the user data that is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userDataList
A list of the user data that is returned.
- Parameters:
userDataList
- A list of the user data that is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userDataList
A list of the user data that is returned.
This is a convenience method that creates an instance of theUserData.Builder
avoiding the need to create one manually viaUserData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserDataList(List<UserData>)
.- Parameters:
userDataList
- a consumer that will call methods onUserData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
approximateTotalCount
The total count of the result, regardless of the current page size.
- Parameters:
approximateTotalCount
- The total count of the result, regardless of the current page size.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-