Interface DescribeNetworkInterfacesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeNetworkInterfacesResponse.Builder,
,DescribeNetworkInterfacesResponse> Ec2Response.Builder
,SdkBuilder<DescribeNetworkInterfacesResponse.Builder,
,DescribeNetworkInterfacesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeNetworkInterfacesResponse
public static interface DescribeNetworkInterfacesResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeNetworkInterfacesResponse.Builder,DescribeNetworkInterfacesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnetworkInterfaces
(Collection<NetworkInterface> networkInterfaces) Information about one or more network interfaces.networkInterfaces
(Consumer<NetworkInterface.Builder>... networkInterfaces) Information about one or more network interfaces.networkInterfaces
(NetworkInterface... networkInterfaces) Information about one or more network interfaces.The token to include in another request to get the next page of items.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
-
networkInterfaces
DescribeNetworkInterfacesResponse.Builder networkInterfaces(Collection<NetworkInterface> networkInterfaces) Information about one or more network interfaces.
- Parameters:
networkInterfaces
- Information about one or more network interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
Information about one or more network interfaces.
- Parameters:
networkInterfaces
- Information about one or more network interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
DescribeNetworkInterfacesResponse.Builder networkInterfaces(Consumer<NetworkInterface.Builder>... networkInterfaces) Information about one or more network interfaces.
This is a convenience method that creates an instance of theNetworkInterface.Builder
avoiding the need to create one manually viaNetworkInterface.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkInterfaces(List<NetworkInterface>)
.- Parameters:
networkInterfaces
- a consumer that will call methods onNetworkInterface.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.- Parameters:
nextToken
- The token to include in another request to get the next page of items. This value isnull
when there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-