Interface ListVpcEndpointsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListVpcEndpointsRequest.Builder,ListVpcEndpointsRequest>,OpenSearchServerlessRequest.Builder,SdkBuilder<ListVpcEndpointsRequest.Builder,ListVpcEndpointsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListVpcEndpointsRequest
public static interface ListVpcEndpointsRequest.Builder extends OpenSearchServerlessRequest.Builder, SdkPojo, CopyableBuilder<ListVpcEndpointsRequest.Builder,ListVpcEndpointsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListVpcEndpointsRequest.BuildermaxResults(Integer maxResults)An optional parameter that specifies the maximum number of results to return.ListVpcEndpointsRequest.BuildernextToken(String nextToken)If your initialListVpcEndpointsoperation returns anextToken, you can include the returnednextTokenin subsequentListVpcEndpointsoperations, which returns results in the next page.ListVpcEndpointsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListVpcEndpointsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default ListVpcEndpointsRequest.BuildervpcEndpointFilters(Consumer<VpcEndpointFilters.Builder> vpcEndpointFilters)Filter the results according to the current status of the VPC endpoint.ListVpcEndpointsRequest.BuildervpcEndpointFilters(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 Detail
-
maxResults
ListVpcEndpointsRequest.Builder maxResults(Integer 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
ListVpcEndpointsRequest.Builder nextToken(String 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
ListVpcEndpointsRequest.Builder vpcEndpointFilters(VpcEndpointFilters 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:
vpcEndpointFilters(VpcEndpointFilters)
-
overrideConfiguration
ListVpcEndpointsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListVpcEndpointsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-