Interface GetVpcLinksResponse.Builder
-
- All Superinterfaces:
ApiGatewayV2Response.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetVpcLinksResponse.Builder,GetVpcLinksResponse>,SdkBuilder<GetVpcLinksResponse.Builder,GetVpcLinksResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetVpcLinksResponse
public static interface GetVpcLinksResponse.Builder extends ApiGatewayV2Response.Builder, SdkPojo, CopyableBuilder<GetVpcLinksResponse.Builder,GetVpcLinksResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetVpcLinksResponse.Builderitems(Collection<VpcLink> items)A collection of VPC links.GetVpcLinksResponse.Builderitems(Consumer<VpcLink.Builder>... items)A collection of VPC links.GetVpcLinksResponse.Builderitems(VpcLink... items)A collection of VPC links.GetVpcLinksResponse.BuildernextToken(String nextToken)The next page of elements from this collection.-
Methods inherited from interface software.amazon.awssdk.services.apigatewayv2.model.ApiGatewayV2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
items
GetVpcLinksResponse.Builder items(Collection<VpcLink> items)
A collection of VPC links.
- Parameters:
items- A collection of VPC links.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
GetVpcLinksResponse.Builder items(VpcLink... items)
A collection of VPC links.
- Parameters:
items- A collection of VPC links.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
GetVpcLinksResponse.Builder items(Consumer<VpcLink.Builder>... items)
A collection of VPC links.
This is a convenience method that creates an instance of theVpcLink.Builderavoiding the need to create one manually viaVpcLink.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#items(List.) - Parameters:
items- a consumer that will call methods onVpcLink.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection)
-
nextToken
GetVpcLinksResponse.Builder nextToken(String nextToken)
The next page of elements from this collection. Not valid for the last element of the collection.
- Parameters:
nextToken- The next page of elements from this collection. Not valid for the last element of the collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-