Interface ListEndpointsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ComprehendRequest.Builder
,CopyableBuilder<ListEndpointsRequest.Builder,
,ListEndpointsRequest> SdkBuilder<ListEndpointsRequest.Builder,
,ListEndpointsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListEndpointsRequest
public static interface ListEndpointsRequest.Builder
extends ComprehendRequest.Builder, SdkPojo, CopyableBuilder<ListEndpointsRequest.Builder,ListEndpointsRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ListEndpointsRequest.Builder
filter
(Consumer<EndpointFilter.Builder> filter) Filters the endpoints that are returned.filter
(EndpointFilter filter) Filters the endpoints that are returned.maxResults
(Integer maxResults) The maximum number of results to return in each page.Identifies the next page of results to return.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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.comprehend.model.ComprehendRequest.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 Details
-
filter
Filters the endpoints that are returned. You can filter endpoints on their name, model, status, or the date and time that they were created. You can only set one filter at a time.
- Parameters:
filter
- Filters the endpoints that are returned. You can filter endpoints on their name, model, status, or the date and time that they were created. You can only set one filter at a time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
Filters the endpoints that are returned. You can filter endpoints on their name, model, status, or the date and time that they were created. You can only set one filter at a time.
This is a convenience method that creates an instance of theEndpointFilter.Builder
avoiding the need to create one manually viaEndpointFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilter(EndpointFilter)
.- Parameters:
filter
- a consumer that will call methods onEndpointFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Identifies the next page of results to return.
- Parameters:
nextToken
- Identifies the next page of results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return in each page. The default is 100.
- Parameters:
maxResults
- The maximum number of results to return in each page. The default is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListEndpointsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListEndpointsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-