Interface ListKeysRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListKeysRequest.Builder,ListKeysRequest>,LocationRequest.Builder,SdkBuilder<ListKeysRequest.Builder,ListKeysRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListKeysRequest
public static interface ListKeysRequest.Builder extends LocationRequest.Builder, SdkPojo, CopyableBuilder<ListKeysRequest.Builder,ListKeysRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ListKeysRequest.Builderfilter(Consumer<ApiKeyFilter.Builder> filter)Optionally filter the list to onlyActiveorExpiredAPI keys.ListKeysRequest.Builderfilter(ApiKeyFilter filter)Optionally filter the list to onlyActiveorExpiredAPI keys.ListKeysRequest.BuildermaxResults(Integer maxResults)An optional limit for the number of resources returned in a single call.ListKeysRequest.BuildernextToken(String nextToken)The pagination token specifying which page of results to return in the response.ListKeysRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListKeysRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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.location.model.LocationRequest.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
-
maxResults
ListKeysRequest.Builder maxResults(Integer maxResults)
An optional limit for the number of resources returned in a single call.
Default value:
100- Parameters:
maxResults- An optional limit for the number of resources returned in a single call.Default value:
100- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListKeysRequest.Builder nextToken(String nextToken)
The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.
Default value:
null- Parameters:
nextToken- The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.Default value:
null- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
ListKeysRequest.Builder filter(ApiKeyFilter filter)
Optionally filter the list to only
ActiveorExpiredAPI keys.- Parameters:
filter- Optionally filter the list to onlyActiveorExpiredAPI keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
default ListKeysRequest.Builder filter(Consumer<ApiKeyFilter.Builder> filter)
Optionally filter the list to only
This is a convenience method that creates an instance of theActiveorExpiredAPI keys.ApiKeyFilter.Builderavoiding the need to create one manually viaApiKeyFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(ApiKeyFilter).- Parameters:
filter- a consumer that will call methods onApiKeyFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filter(ApiKeyFilter)
-
overrideConfiguration
ListKeysRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListKeysRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-