Interface DescribeVpcEndpointsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeVpcEndpointsResponse.Builder,
,DescribeVpcEndpointsResponse> Ec2Response.Builder
,SdkBuilder<DescribeVpcEndpointsResponse.Builder,
,DescribeVpcEndpointsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeVpcEndpointsResponse
public static interface DescribeVpcEndpointsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeVpcEndpointsResponse.Builder,DescribeVpcEndpointsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use when requesting the next set of items.vpcEndpoints
(Collection<VpcEndpoint> vpcEndpoints) Information about the endpoints.vpcEndpoints
(Consumer<VpcEndpoint.Builder>... vpcEndpoints) Information about the endpoints.vpcEndpoints
(VpcEndpoint... vpcEndpoints) Information about the endpoints.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
vpcEndpoints
Information about the endpoints.
- Parameters:
vpcEndpoints
- Information about the endpoints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpoints
Information about the endpoints.
- Parameters:
vpcEndpoints
- Information about the endpoints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpoints
Information about the endpoints.
This is a convenience method that creates an instance of theVpcEndpoint.Builder
avoiding the need to create one manually viaVpcEndpoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcEndpoints(List<VpcEndpoint>)
.- Parameters:
vpcEndpoints
- a consumer that will call methods onVpcEndpoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
- Parameters:
nextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-