Interface GetCurrentUserDataRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConnectRequest.Builder
,CopyableBuilder<GetCurrentUserDataRequest.Builder,GetCurrentUserDataRequest>
,SdkBuilder<GetCurrentUserDataRequest.Builder,GetCurrentUserDataRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- GetCurrentUserDataRequest
public static interface GetCurrentUserDataRequest.Builder extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<GetCurrentUserDataRequest.Builder,GetCurrentUserDataRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetCurrentUserDataRequest.Builder
filters(Consumer<UserDataFilters.Builder> filters)
The filters to apply to returned user data.GetCurrentUserDataRequest.Builder
filters(UserDataFilters filters)
The filters to apply to returned user data.GetCurrentUserDataRequest.Builder
instanceId(String instanceId)
The identifier of the Amazon Connect instance.GetCurrentUserDataRequest.Builder
maxResults(Integer maxResults)
The maximum number of results to return per page.GetCurrentUserDataRequest.Builder
nextToken(String nextToken)
The token for the next set of results.GetCurrentUserDataRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
GetCurrentUserDataRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
build
-
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
-
-
-
-
Method Detail
-
instanceId
GetCurrentUserDataRequest.Builder instanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId
- The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
GetCurrentUserDataRequest.Builder filters(UserDataFilters filters)
The filters to apply to returned user data. You can filter up to the following limits:
-
Queues: 100
-
Routing profiles: 100
-
Agents: 100
-
Contact states: 9
-
User hierarchy groups: 1
The user data is retrieved for only the specified values/resources in the filter. A maximum of one filter can be passed from queues, routing profiles, agents, and user hierarchy groups.
Currently tagging is only supported on the resources that are passed in the filter.
- Parameters:
filters
- The filters to apply to returned user data. You can filter up to the following limits:-
Queues: 100
-
Routing profiles: 100
-
Agents: 100
-
Contact states: 9
-
User hierarchy groups: 1
The user data is retrieved for only the specified values/resources in the filter. A maximum of one filter can be passed from queues, routing profiles, agents, and user hierarchy groups.
Currently tagging is only supported on the resources that are passed in the filter.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
default GetCurrentUserDataRequest.Builder filters(Consumer<UserDataFilters.Builder> filters)
The filters to apply to returned user data. You can filter up to the following limits:
-
Queues: 100
-
Routing profiles: 100
-
Agents: 100
-
Contact states: 9
-
User hierarchy groups: 1
The user data is retrieved for only the specified values/resources in the filter. A maximum of one filter can be passed from queues, routing profiles, agents, and user hierarchy groups.
Currently tagging is only supported on the resources that are passed in the filter.
This is a convenience method that creates an instance of theUserDataFilters.Builder
avoiding the need to create one manually viaUserDataFilters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(UserDataFilters)
.- Parameters:
filters
- a consumer that will call methods onUserDataFilters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filters(UserDataFilters)
-
-
nextToken
GetCurrentUserDataRequest.Builder nextToken(String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- Parameters:
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
GetCurrentUserDataRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return per page.
- Parameters:
maxResults
- The maximum number of results to return per page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetCurrentUserDataRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
GetCurrentUserDataRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-