Interface DescribePackagesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribePackagesRequest.Builder,,DescribePackagesRequest> OpenSearchRequest.Builder,SdkBuilder<DescribePackagesRequest.Builder,,DescribePackagesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribePackagesRequest
public static interface DescribePackagesRequest.Builder
extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<DescribePackagesRequest.Builder,DescribePackagesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionfilters(Collection<DescribePackagesFilter> filters) Only returns packages that match theDescribePackagesFilterListvalues.filters(Consumer<DescribePackagesFilter.Builder>... filters) Only returns packages that match theDescribePackagesFilterListvalues.filters(DescribePackagesFilter... filters) Only returns packages that match theDescribePackagesFilterListvalues.maxResults(Integer maxResults) An optional parameter that specifies the maximum number of results to return.If your initialDescribePackageFiltersoperation returns anextToken, you can include the returnednextTokenin subsequentDescribePackageFiltersoperations, which returns results in the next page.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
filters
Only returns packages that match the
DescribePackagesFilterListvalues.- Parameters:
filters- Only returns packages that match theDescribePackagesFilterListvalues.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Only returns packages that match the
DescribePackagesFilterListvalues.- Parameters:
filters- Only returns packages that match theDescribePackagesFilterListvalues.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Only returns packages that match the
This is a convenience method that creates an instance of theDescribePackagesFilterListvalues.DescribePackagesFilter.Builderavoiding the need to create one manually viaDescribePackagesFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<DescribePackagesFilter>).- Parameters:
filters- a consumer that will call methods onDescribePackagesFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
An optional parameter that specifies the maximum number of results to return. You can use
nextTokento get the next page of results.- Parameters:
maxResults- An optional parameter that specifies the maximum number of results to return. You can usenextTokento get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If your initial
DescribePackageFiltersoperation returns anextToken, you can include the returnednextTokenin subsequentDescribePackageFiltersoperations, which returns results in the next page.- Parameters:
nextToken- If your initialDescribePackageFiltersoperation returns anextToken, you can include the returnednextTokenin subsequentDescribePackageFiltersoperations, which returns results in the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribePackagesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribePackagesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-