public static interface NetworkInterfacePermission.Builder extends CopyableBuilder<NetworkInterfacePermission.Builder,NetworkInterfacePermission>
copyapply, buildNetworkInterfacePermission.Builder networkInterfacePermissionId(String networkInterfacePermissionId)
The ID of the network interface permission.
networkInterfacePermissionId - The ID of the network interface permission.NetworkInterfacePermission.Builder networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId - The ID of the network interface.NetworkInterfacePermission.Builder awsAccountId(String awsAccountId)
The AWS account ID.
awsAccountId - The AWS account ID.NetworkInterfacePermission.Builder awsService(String awsService)
The AWS service.
awsService - The AWS service.NetworkInterfacePermission.Builder permission(String permission)
The type of permission.
permission - The type of permission.InterfacePermissionType,
InterfacePermissionTypeNetworkInterfacePermission.Builder permission(InterfacePermissionType permission)
The type of permission.
permission - The type of permission.InterfacePermissionType,
InterfacePermissionTypeNetworkInterfacePermission.Builder permissionState(NetworkInterfacePermissionState permissionState)
Information about the state of the permission.
permissionState - Information about the state of the permission.default NetworkInterfacePermission.Builder permissionState(Consumer<NetworkInterfacePermissionState.Builder> permissionState)
Information about the state of the permission.
This is a convenience that creates an instance of theNetworkInterfacePermissionState.Builder
avoiding the need to create one manually via NetworkInterfacePermissionState.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to permissionState(NetworkInterfacePermissionState).permissionState - a consumer that will call methods on NetworkInterfacePermissionState.BuilderpermissionState(NetworkInterfacePermissionState)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.