Interface SearchPredefinedAttributesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<SearchPredefinedAttributesRequest.Builder,SearchPredefinedAttributesRequest>,SdkBuilder<SearchPredefinedAttributesRequest.Builder,SearchPredefinedAttributesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- SearchPredefinedAttributesRequest
public static interface SearchPredefinedAttributesRequest.Builder extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<SearchPredefinedAttributesRequest.Builder,SearchPredefinedAttributesRequest>
-
-
Method Summary
-
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
SearchPredefinedAttributesRequest.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.
-
nextToken
SearchPredefinedAttributesRequest.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
SearchPredefinedAttributesRequest.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.
-
searchCriteria
SearchPredefinedAttributesRequest.Builder searchCriteria(PredefinedAttributeSearchCriteria searchCriteria)
The search criteria to be used to return predefined attributes.
- Parameters:
searchCriteria- The search criteria to be used to return predefined attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchCriteria
default SearchPredefinedAttributesRequest.Builder searchCriteria(Consumer<PredefinedAttributeSearchCriteria.Builder> searchCriteria)
The search criteria to be used to return predefined attributes.
This is a convenience method that creates an instance of thePredefinedAttributeSearchCriteria.Builderavoiding the need to create one manually viaPredefinedAttributeSearchCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosearchCriteria(PredefinedAttributeSearchCriteria).- Parameters:
searchCriteria- a consumer that will call methods onPredefinedAttributeSearchCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
searchCriteria(PredefinedAttributeSearchCriteria)
-
overrideConfiguration
SearchPredefinedAttributesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SearchPredefinedAttributesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-