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
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
-
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.Builderavoiding the need to create one manually viaNetworkInterfacePermission.builder().When the
Consumercompletes,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
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.
-