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 initialListVpcEndpointsoperation returns anextToken, you can include the returnednextTokenin subsequentListVpcEndpointsoperations, 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.BuildervpcEndpointFilters(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearchserverless.model.OpenSearchServerlessRequest.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
-
maxResults
An optional parameter that specifies the maximum number of results to return. You can use
nextTokento 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 usenextTokento 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.
-
nextToken
If your initial
ListVpcEndpointsoperation returns anextToken, you can include the returnednextTokenin subsequentListVpcEndpointsoperations, which returns results in the next page.- Parameters:
nextToken- If your initialListVpcEndpointsoperation returns anextToken, you can include the returnednextTokenin subsequentListVpcEndpointsoperations, which returns results in the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaVpcEndpointFilters.builder().When the
Consumercompletes,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:
-
overrideConfiguration
ListVpcEndpointsRequest.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
ListVpcEndpointsRequest.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.
-