Interface SearchProfilesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SearchProfilesRequest.Builder,SearchProfilesRequest>,CustomerProfilesRequest.Builder,SdkBuilder<SearchProfilesRequest.Builder,SearchProfilesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- SearchProfilesRequest
public static interface SearchProfilesRequest.Builder extends CustomerProfilesRequest.Builder, SdkPojo, CopyableBuilder<SearchProfilesRequest.Builder,SearchProfilesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchProfilesRequest.BuilderadditionalSearchKeys(Collection<AdditionalSearchKey> additionalSearchKeys)A list ofAdditionalSearchKeyobjects that are each searchable identifiers of a profile.SearchProfilesRequest.BuilderadditionalSearchKeys(Consumer<AdditionalSearchKey.Builder>... additionalSearchKeys)A list ofAdditionalSearchKeyobjects that are each searchable identifiers of a profile.SearchProfilesRequest.BuilderadditionalSearchKeys(AdditionalSearchKey... additionalSearchKeys)A list ofAdditionalSearchKeyobjects that are each searchable identifiers of a profile.SearchProfilesRequest.BuilderdomainName(String domainName)The unique name of the domain.SearchProfilesRequest.BuilderkeyName(String keyName)A searchable identifier of a customer profile.SearchProfilesRequest.BuilderlogicalOperator(String logicalOperator)Relationship between all specified search keys that will be used to search for profiles.SearchProfilesRequest.BuilderlogicalOperator(LogicalOperator logicalOperator)Relationship between all specified search keys that will be used to search for profiles.SearchProfilesRequest.BuildermaxResults(Integer maxResults)The maximum number of objects returned per page.SearchProfilesRequest.BuildernextToken(String nextToken)The pagination token from the previous SearchProfiles API call.SearchProfilesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SearchProfilesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)SearchProfilesRequest.Buildervalues(String... values)A list of key values.SearchProfilesRequest.Buildervalues(Collection<String> values)A list of key values.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.customerprofiles.model.CustomerProfilesRequest.Builder
build
-
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
-
nextToken
SearchProfilesRequest.Builder nextToken(String nextToken)
The pagination token from the previous SearchProfiles API call.
- Parameters:
nextToken- The pagination token from the previous SearchProfiles API call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
SearchProfilesRequest.Builder maxResults(Integer maxResults)
The maximum number of objects returned per page.
The default is 20 if this parameter is not included in the request.
- Parameters:
maxResults- The maximum number of objects returned per page.The default is 20 if this parameter is not included in the request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainName
SearchProfilesRequest.Builder domainName(String domainName)
The unique name of the domain.
- Parameters:
domainName- The unique name of the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyName
SearchProfilesRequest.Builder keyName(String keyName)
A searchable identifier of a customer profile. The predefined keys you can use to search include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, _phone, _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId, _salesforceAssetId, _zendeskUserId, _zendeskExternalId, _zendeskTicketId, _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, _shopifyCustomerId, _shopifyOrderId.
- Parameters:
keyName- A searchable identifier of a customer profile. The predefined keys you can use to search include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, _phone, _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId, _salesforceAssetId, _zendeskUserId, _zendeskExternalId, _zendeskTicketId, _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, _shopifyCustomerId, _shopifyOrderId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
SearchProfilesRequest.Builder values(Collection<String> values)
A list of key values.
- Parameters:
values- A list of key values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
SearchProfilesRequest.Builder values(String... values)
A list of key values.
- Parameters:
values- A list of key values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalSearchKeys
SearchProfilesRequest.Builder additionalSearchKeys(Collection<AdditionalSearchKey> additionalSearchKeys)
A list of
AdditionalSearchKeyobjects that are each searchable identifiers of a profile. EachAdditionalSearchKeyobject contains aKeyNameand a list ofValuesassociated with that specific key (i.e., a key-value(s) pair). These additional search keys will be used in conjunction with theLogicalOperatorand the requiredKeyNameandValuesparameters to search for profiles that satisfy the search criteria.- Parameters:
additionalSearchKeys- A list ofAdditionalSearchKeyobjects that are each searchable identifiers of a profile. EachAdditionalSearchKeyobject contains aKeyNameand a list ofValuesassociated with that specific key (i.e., a key-value(s) pair). These additional search keys will be used in conjunction with theLogicalOperatorand the requiredKeyNameandValuesparameters to search for profiles that satisfy the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalSearchKeys
SearchProfilesRequest.Builder additionalSearchKeys(AdditionalSearchKey... additionalSearchKeys)
A list of
AdditionalSearchKeyobjects that are each searchable identifiers of a profile. EachAdditionalSearchKeyobject contains aKeyNameand a list ofValuesassociated with that specific key (i.e., a key-value(s) pair). These additional search keys will be used in conjunction with theLogicalOperatorand the requiredKeyNameandValuesparameters to search for profiles that satisfy the search criteria.- Parameters:
additionalSearchKeys- A list ofAdditionalSearchKeyobjects that are each searchable identifiers of a profile. EachAdditionalSearchKeyobject contains aKeyNameand a list ofValuesassociated with that specific key (i.e., a key-value(s) pair). These additional search keys will be used in conjunction with theLogicalOperatorand the requiredKeyNameandValuesparameters to search for profiles that satisfy the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalSearchKeys
SearchProfilesRequest.Builder additionalSearchKeys(Consumer<AdditionalSearchKey.Builder>... additionalSearchKeys)
A list of
This is a convenience method that creates an instance of theAdditionalSearchKeyobjects that are each searchable identifiers of a profile. EachAdditionalSearchKeyobject contains aKeyNameand a list ofValuesassociated with that specific key (i.e., a key-value(s) pair). These additional search keys will be used in conjunction with theLogicalOperatorand the requiredKeyNameandValuesparameters to search for profiles that satisfy the search criteria.AdditionalSearchKey.Builderavoiding the need to create one manually viaAdditionalSearchKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#additionalSearchKeys(List.) - Parameters:
additionalSearchKeys- a consumer that will call methods onAdditionalSearchKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#additionalSearchKeys(java.util.Collection)
-
logicalOperator
SearchProfilesRequest.Builder logicalOperator(String logicalOperator)
Relationship between all specified search keys that will be used to search for profiles. This includes the required
KeyNameandValuesparameters as well as any key-value(s) pairs specified in theAdditionalSearchKeyslist.This parameter influences which profiles will be returned in the response in the following manner:
-
AND- The response only includes profiles that match all of the search keys. -
OR- The response includes profiles that match at least one of the search keys.
The
ORrelationship is the default behavior if this parameter is not included in the request.- Parameters:
logicalOperator- Relationship between all specified search keys that will be used to search for profiles. This includes the requiredKeyNameandValuesparameters as well as any key-value(s) pairs specified in theAdditionalSearchKeyslist.This parameter influences which profiles will be returned in the response in the following manner:
-
AND- The response only includes profiles that match all of the search keys. -
OR- The response includes profiles that match at least one of the search keys.
The
ORrelationship is the default behavior if this parameter is not included in the request.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LogicalOperator,LogicalOperator
-
-
logicalOperator
SearchProfilesRequest.Builder logicalOperator(LogicalOperator logicalOperator)
Relationship between all specified search keys that will be used to search for profiles. This includes the required
KeyNameandValuesparameters as well as any key-value(s) pairs specified in theAdditionalSearchKeyslist.This parameter influences which profiles will be returned in the response in the following manner:
-
AND- The response only includes profiles that match all of the search keys. -
OR- The response includes profiles that match at least one of the search keys.
The
ORrelationship is the default behavior if this parameter is not included in the request.- Parameters:
logicalOperator- Relationship between all specified search keys that will be used to search for profiles. This includes the requiredKeyNameandValuesparameters as well as any key-value(s) pairs specified in theAdditionalSearchKeyslist.This parameter influences which profiles will be returned in the response in the following manner:
-
AND- The response only includes profiles that match all of the search keys. -
OR- The response includes profiles that match at least one of the search keys.
The
ORrelationship is the default behavior if this parameter is not included in the request.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LogicalOperator,LogicalOperator
-
-
overrideConfiguration
SearchProfilesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SearchProfilesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-