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 the network interfaces.networkInterfaces(Consumer<NetworkInterface.Builder>... networkInterfaces) Information about the network interfaces.networkInterfaces(NetworkInterface... networkInterfaces) Information about the 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
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
networkInterfaces
DescribeNetworkInterfacesResponse.Builder networkInterfaces(Collection<NetworkInterface> networkInterfaces) Information about the network interfaces.
- Parameters:
networkInterfaces- Information about the network interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
Information about the network interfaces.
- Parameters:
networkInterfaces- Information about the 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 the network interfaces.
This is a convenience method that creates an instance of theNetworkInterface.Builderavoiding the need to create one manually viaNetworkInterface.builder().When the
Consumercompletes,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
nullwhen 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 isnullwhen there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-