Interface DescribeVpcEndpointAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeVpcEndpointAssociationsResponse.Builder,
,DescribeVpcEndpointAssociationsResponse> Ec2Response.Builder
,SdkBuilder<DescribeVpcEndpointAssociationsResponse.Builder,
,DescribeVpcEndpointAssociationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeVpcEndpointAssociationsResponse
@Mutable
@NotThreadSafe
public static interface DescribeVpcEndpointAssociationsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeVpcEndpointAssociationsResponse.Builder,DescribeVpcEndpointAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token.vpcEndpointAssociations
(Collection<VpcEndpointAssociation> vpcEndpointAssociations) Details of the endpoint associations.vpcEndpointAssociations
(Consumer<VpcEndpointAssociation.Builder>... vpcEndpointAssociations) Details of the endpoint associations.vpcEndpointAssociations
(VpcEndpointAssociation... vpcEndpointAssociations) Details of the endpoint associations.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
vpcEndpointAssociations
DescribeVpcEndpointAssociationsResponse.Builder vpcEndpointAssociations(Collection<VpcEndpointAssociation> vpcEndpointAssociations) Details of the endpoint associations.
- Parameters:
vpcEndpointAssociations
- Details of the endpoint associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpointAssociations
DescribeVpcEndpointAssociationsResponse.Builder vpcEndpointAssociations(VpcEndpointAssociation... vpcEndpointAssociations) Details of the endpoint associations.
- Parameters:
vpcEndpointAssociations
- Details of the endpoint associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpointAssociations
DescribeVpcEndpointAssociationsResponse.Builder vpcEndpointAssociations(Consumer<VpcEndpointAssociation.Builder>... vpcEndpointAssociations) Details of the endpoint associations.
This is a convenience method that creates an instance of theVpcEndpointAssociation.Builder
avoiding the need to create one manually viaVpcEndpointAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcEndpointAssociations(List<VpcEndpointAssociation>)
.- Parameters:
vpcEndpointAssociations
- a consumer that will call methods onVpcEndpointAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token.
- Parameters:
nextToken
- The pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-