public static interface CreateNetworkInterfacePermissionResponse.Builder extends EC2Response.Builder, CopyableBuilder<CreateNetworkInterfacePermissionResponse.Builder,CreateNetworkInterfacePermissionResponse>
Modifier and Type | Method and Description |
---|---|
default CreateNetworkInterfacePermissionResponse.Builder |
interfacePermission(Consumer<NetworkInterfacePermission.Builder> interfacePermission)
Information about the permission for the network interface.
|
CreateNetworkInterfacePermissionResponse.Builder |
interfacePermission(NetworkInterfacePermission interfacePermission)
Information about the permission for the network interface.
|
build
copy
apply, build
CreateNetworkInterfacePermissionResponse.Builder interfacePermission(NetworkInterfacePermission interfacePermission)
Information about the permission for the network interface.
interfacePermission
- Information about the permission for the network interface.default CreateNetworkInterfacePermissionResponse.Builder interfacePermission(Consumer<NetworkInterfacePermission.Builder> interfacePermission)
Information about the permission for the network interface.
This is a convenience that creates an instance of theNetworkInterfacePermission.Builder
avoiding the
need to create one manually via NetworkInterfacePermission.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to interfacePermission(NetworkInterfacePermission)
.interfacePermission
- a consumer that will call methods on NetworkInterfacePermission.Builder
interfacePermission(NetworkInterfacePermission)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.