Interface DescribeNetworkInterfacePermissionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeNetworkInterfacePermissionsResponse.Builder,
,DescribeNetworkInterfacePermissionsResponse> Ec2Response.Builder
,SdkBuilder<DescribeNetworkInterfacePermissionsResponse.Builder,
,DescribeNetworkInterfacePermissionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeNetworkInterfacePermissionsResponse
public static interface DescribeNetworkInterfacePermissionsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeNetworkInterfacePermissionsResponse.Builder,DescribeNetworkInterfacePermissionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnetworkInterfacePermissions
(Collection<NetworkInterfacePermission> networkInterfacePermissions) The network interface permissions.networkInterfacePermissions
(Consumer<NetworkInterfacePermission.Builder>... networkInterfacePermissions) The network interface permissions.networkInterfacePermissions
(NetworkInterfacePermission... networkInterfacePermissions) The network interface permissions.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
-
networkInterfacePermissions
DescribeNetworkInterfacePermissionsResponse.Builder networkInterfacePermissions(Collection<NetworkInterfacePermission> networkInterfacePermissions) The network interface permissions.
- Parameters:
networkInterfacePermissions
- The network interface permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfacePermissions
DescribeNetworkInterfacePermissionsResponse.Builder networkInterfacePermissions(NetworkInterfacePermission... networkInterfacePermissions) The network interface permissions.
- Parameters:
networkInterfacePermissions
- The network interface permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfacePermissions
DescribeNetworkInterfacePermissionsResponse.Builder networkInterfacePermissions(Consumer<NetworkInterfacePermission.Builder>... networkInterfacePermissions) The network interface permissions.
This is a convenience method that creates an instance of theNetworkInterfacePermission.Builder
avoiding the need to create one manually viaNetworkInterfacePermission.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkInterfacePermissions(List<NetworkInterfacePermission>)
.- Parameters:
networkInterfacePermissions
- a consumer that will call methods onNetworkInterfacePermission.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.
-