Interface ListVpcEndpointsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListVpcEndpointsRequest.Builder,
,ListVpcEndpointsRequest> OpenSearchServerlessRequest.Builder
,SdkBuilder<ListVpcEndpointsRequest.Builder,
,ListVpcEndpointsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListVpcEndpointsRequest
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) An optional parameter that specifies the maximum number of results to return.If your initialListVpcEndpoints
operation returns anextToken
, you can include the returnednextToken
in subsequentListVpcEndpoints
operations, 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.default ListVpcEndpointsRequest.Builder
vpcEndpointFilters
(Consumer<VpcEndpointFilters.Builder> vpcEndpointFilters) Filter the results according to the current status of the VPC endpoint.vpcEndpointFilters
(VpcEndpointFilters vpcEndpointFilters) Filter the results according to the current status of the VPC endpoint.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.opensearchserverless.model.OpenSearchServerlessRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
vpcEndpointFilters
Filter the results according to the current status of the VPC endpoint. Possible statuses are
CREATING
,DELETING
,UPDATING
,ACTIVE
, andFAILED
.- Parameters:
vpcEndpointFilters
- Filter the results according to the current status of the VPC endpoint. Possible statuses areCREATING
,DELETING
,UPDATING
,ACTIVE
, andFAILED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpointFilters
default ListVpcEndpointsRequest.Builder vpcEndpointFilters(Consumer<VpcEndpointFilters.Builder> vpcEndpointFilters) Filter the results according to the current status of the VPC endpoint. Possible statuses are
This is a convenience method that creates an instance of theCREATING
,DELETING
,UPDATING
,ACTIVE
, andFAILED
.VpcEndpointFilters.Builder
avoiding the need to create one manually viaVpcEndpointFilters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcEndpointFilters(VpcEndpointFilters)
.- Parameters:
vpcEndpointFilters
- a consumer that will call methods onVpcEndpointFilters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If your initial
ListVpcEndpoints
operation returns anextToken
, you can include the returnednextToken
in subsequentListVpcEndpoints
operations, which returns results in the next page.- Parameters:
nextToken
- If your initialListVpcEndpoints
operation returns anextToken
, you can include the returnednextToken
in subsequentListVpcEndpoints
operations, which returns results in the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
An optional parameter that specifies the maximum number of results to return. You can use
nextToken
to get the next page of results. The default is 20.- Parameters:
maxResults
- An optional parameter that specifies the maximum number of results to return. You can usenextToken
to get the next page of results. The default is 20.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListVpcEndpointsRequest.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
ListVpcEndpointsRequest.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.
-