Interface SearchTypesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SearchTypesRequest.Builder,SearchTypesRequest>,DataZoneRequest.Builder,SdkBuilder<SearchTypesRequest.Builder,SearchTypesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- SearchTypesRequest
public static interface SearchTypesRequest.Builder extends DataZoneRequest.Builder, SdkPojo, CopyableBuilder<SearchTypesRequest.Builder,SearchTypesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SearchTypesRequest.BuilderdomainIdentifier(String domainIdentifier)The identifier of the Amazon DataZone domain in which to invoke theSearchTypesaction.default SearchTypesRequest.Builderfilters(Consumer<FilterClause.Builder> filters)The filters for theSearchTypesaction.SearchTypesRequest.Builderfilters(FilterClause filters)The filters for theSearchTypesaction.SearchTypesRequest.Buildermanaged(Boolean managed)SearchTypesRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return in a single call toSearchTypes.SearchTypesRequest.BuildernextToken(String nextToken)When the number of results is greater than the default value for theMaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of results, the response includes a pagination token namedNextToken.SearchTypesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SearchTypesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)SearchTypesRequest.BuildersearchIn(Collection<SearchInItem> searchIn)SearchTypesRequest.BuildersearchIn(Consumer<SearchInItem.Builder>... searchIn)This is a convenience method that creates an instance of theSearchInItem.Builderavoiding the need to create one manually viaSearchInItem.builder().SearchTypesRequest.BuildersearchIn(SearchInItem... searchIn)SearchTypesRequest.BuildersearchScope(String searchScope)Specifies the scope of the search for types.SearchTypesRequest.BuildersearchScope(TypesSearchScope searchScope)Specifies the scope of the search for types.SearchTypesRequest.BuildersearchText(String searchText)Specifies the text for which to search.default SearchTypesRequest.Buildersort(Consumer<SearchSort.Builder> sort)The specifies the way to sort theSearchTypesresults.SearchTypesRequest.Buildersort(SearchSort sort)The specifies the way to sort theSearchTypesresults.-
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.datazone.model.DataZoneRequest.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
-
domainIdentifier
SearchTypesRequest.Builder domainIdentifier(String domainIdentifier)
The identifier of the Amazon DataZone domain in which to invoke the
SearchTypesaction.- Parameters:
domainIdentifier- The identifier of the Amazon DataZone domain in which to invoke theSearchTypesaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
SearchTypesRequest.Builder filters(FilterClause filters)
The filters for the
SearchTypesaction.- Parameters:
filters- The filters for theSearchTypesaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
default SearchTypesRequest.Builder filters(Consumer<FilterClause.Builder> filters)
The filters for the
This is a convenience method that creates an instance of theSearchTypesaction.FilterClause.Builderavoiding the need to create one manually viaFilterClause.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(FilterClause).- Parameters:
filters- a consumer that will call methods onFilterClause.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filters(FilterClause)
-
managed
SearchTypesRequest.Builder managed(Boolean managed)
- Parameters:
managed-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
SearchTypesRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return in a single call to
SearchTypes. When the number of results to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toSearchTypesto list the next set of results.- Parameters:
maxResults- The maximum number of results to return in a single call toSearchTypes. When the number of results to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toSearchTypesto list the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
SearchTypesRequest.Builder nextToken(String nextToken)
When the number of results is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of results, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toSearchTypesto list the next set of results.- Parameters:
nextToken- When the number of results is greater than the default value for theMaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of results, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toSearchTypesto list the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchIn
SearchTypesRequest.Builder searchIn(Collection<SearchInItem> searchIn)
- Parameters:
searchIn-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchIn
SearchTypesRequest.Builder searchIn(SearchInItem... searchIn)
- Parameters:
searchIn-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchIn
SearchTypesRequest.Builder searchIn(Consumer<SearchInItem.Builder>... searchIn)
This is a convenience method that creates an instance of theSearchInItem.Builderavoiding the need to create one manually viaSearchInItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#searchIn(List.) - Parameters:
searchIn- a consumer that will call methods onSearchInItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#searchIn(java.util.Collection)
-
searchScope
SearchTypesRequest.Builder searchScope(String searchScope)
Specifies the scope of the search for types.
- Parameters:
searchScope- Specifies the scope of the search for types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TypesSearchScope,TypesSearchScope
-
searchScope
SearchTypesRequest.Builder searchScope(TypesSearchScope searchScope)
Specifies the scope of the search for types.
- Parameters:
searchScope- Specifies the scope of the search for types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TypesSearchScope,TypesSearchScope
-
searchText
SearchTypesRequest.Builder searchText(String searchText)
Specifies the text for which to search.
- Parameters:
searchText- Specifies the text for which to search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
SearchTypesRequest.Builder sort(SearchSort sort)
The specifies the way to sort the
SearchTypesresults.- Parameters:
sort- The specifies the way to sort theSearchTypesresults.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
default SearchTypesRequest.Builder sort(Consumer<SearchSort.Builder> sort)
The specifies the way to sort the
This is a convenience method that creates an instance of theSearchTypesresults.SearchSort.Builderavoiding the need to create one manually viaSearchSort.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosort(SearchSort).- Parameters:
sort- a consumer that will call methods onSearchSort.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sort(SearchSort)
-
overrideConfiguration
SearchTypesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SearchTypesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-