Interface DescribeLocalGatewayVirtualInterfacesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeLocalGatewayVirtualInterfacesResponse.Builder,
,DescribeLocalGatewayVirtualInterfacesResponse> Ec2Response.Builder
,SdkBuilder<DescribeLocalGatewayVirtualInterfacesResponse.Builder,
,DescribeLocalGatewayVirtualInterfacesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeLocalGatewayVirtualInterfacesResponse
public static interface DescribeLocalGatewayVirtualInterfacesResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeLocalGatewayVirtualInterfacesResponse.Builder,DescribeLocalGatewayVirtualInterfacesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlocalGatewayVirtualInterfaces
(Collection<LocalGatewayVirtualInterface> localGatewayVirtualInterfaces) Information about the virtual interfaces.localGatewayVirtualInterfaces
(Consumer<LocalGatewayVirtualInterface.Builder>... localGatewayVirtualInterfaces) Information about the virtual interfaces.localGatewayVirtualInterfaces
(LocalGatewayVirtualInterface... localGatewayVirtualInterfaces) Information about the virtual interfaces.The token to use to retrieve the next page of results.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
-
localGatewayVirtualInterfaces
DescribeLocalGatewayVirtualInterfacesResponse.Builder localGatewayVirtualInterfaces(Collection<LocalGatewayVirtualInterface> localGatewayVirtualInterfaces) Information about the virtual interfaces.
- Parameters:
localGatewayVirtualInterfaces
- Information about the virtual interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localGatewayVirtualInterfaces
DescribeLocalGatewayVirtualInterfacesResponse.Builder localGatewayVirtualInterfaces(LocalGatewayVirtualInterface... localGatewayVirtualInterfaces) Information about the virtual interfaces.
- Parameters:
localGatewayVirtualInterfaces
- Information about the virtual interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localGatewayVirtualInterfaces
DescribeLocalGatewayVirtualInterfacesResponse.Builder localGatewayVirtualInterfaces(Consumer<LocalGatewayVirtualInterface.Builder>... localGatewayVirtualInterfaces) Information about the virtual interfaces.
This is a convenience method that creates an instance of theLocalGatewayVirtualInterface.Builder
avoiding the need to create one manually viaLocalGatewayVirtualInterface.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolocalGatewayVirtualInterfaces(List<LocalGatewayVirtualInterface>)
.- Parameters:
localGatewayVirtualInterfaces
- a consumer that will call methods onLocalGatewayVirtualInterface.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.- Parameters:
nextToken
- The token to use to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-