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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeVpcEndpointsResponse.Builder
nextToken(String nextToken)
The token to use when requesting the next set of items.DescribeVpcEndpointsResponse.Builder
vpcEndpoints(Collection<VpcEndpoint> vpcEndpoints)
Information about the endpoints.DescribeVpcEndpointsResponse.Builder
vpcEndpoints(Consumer<VpcEndpoint.Builder>... vpcEndpoints)
Information about the endpoints.DescribeVpcEndpointsResponse.Builder
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 Detail
-
vpcEndpoints
DescribeVpcEndpointsResponse.Builder vpcEndpoints(Collection<VpcEndpoint> 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
DescribeVpcEndpointsResponse.Builder vpcEndpoints(VpcEndpoint... 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
DescribeVpcEndpointsResponse.Builder vpcEndpoints(Consumer<VpcEndpoint.Builder>... 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 to#vpcEndpoints(List
.) - 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:
#vpcEndpoints(java.util.Collection
)
-
nextToken
DescribeVpcEndpointsResponse.Builder nextToken(String 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.
-
-