Interface SearchResourceTagsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<SearchResourceTagsRequest.Builder,SearchResourceTagsRequest>,SdkBuilder<SearchResourceTagsRequest.Builder,SearchResourceTagsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- SearchResourceTagsRequest
public static interface SearchResourceTagsRequest.Builder extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<SearchResourceTagsRequest.Builder,SearchResourceTagsRequest>
-
-
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
SearchResourceTagsRequest.Builder instanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instanceId in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId- The identifier of the Amazon Connect instance. You can find the instanceId in the Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypes
SearchResourceTagsRequest.Builder resourceTypes(Collection<String> resourceTypes)
The list of resource types to be used to search tags from. If not provided or if any empty list is provided, this API will search from all supported resource types.
- Parameters:
resourceTypes- The list of resource types to be used to search tags from. If not provided or if any empty list is provided, this API will search from all supported resource types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypes
SearchResourceTagsRequest.Builder resourceTypes(String... resourceTypes)
The list of resource types to be used to search tags from. If not provided or if any empty list is provided, this API will search from all supported resource types.
- Parameters:
resourceTypes- The list of resource types to be used to search tags from. If not provided or if any empty list is provided, this API will search from all supported resource types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
SearchResourceTagsRequest.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
SearchResourceTagsRequest.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
SearchResourceTagsRequest.Builder searchCriteria(ResourceTagsSearchCriteria searchCriteria)
The search criteria to be used to return tags.
- Parameters:
searchCriteria- The search criteria to be used to return tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchCriteria
default SearchResourceTagsRequest.Builder searchCriteria(Consumer<ResourceTagsSearchCriteria.Builder> searchCriteria)
The search criteria to be used to return tags.
This is a convenience method that creates an instance of theResourceTagsSearchCriteria.Builderavoiding the need to create one manually viaResourceTagsSearchCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosearchCriteria(ResourceTagsSearchCriteria).- Parameters:
searchCriteria- a consumer that will call methods onResourceTagsSearchCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
searchCriteria(ResourceTagsSearchCriteria)
-
overrideConfiguration
SearchResourceTagsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SearchResourceTagsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-