public static interface NetworkInterfacePermission.Builder extends SdkPojo, CopyableBuilder<NetworkInterfacePermission.Builder,NetworkInterfacePermission>
equalsBySdkFields, sdkFields
copy
applyMutation, build
NetworkInterfacePermission.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 Amazon Web Services account ID.
awsAccountId
- The Amazon Web Services account ID.NetworkInterfacePermission.Builder awsService(String awsService)
The Amazon Web Service.
awsService
- The Amazon Web Service.NetworkInterfacePermission.Builder permission(String permission)
The type of permission.
permission
- The type of permission.InterfacePermissionType
,
InterfacePermissionType
NetworkInterfacePermission.Builder permission(InterfacePermissionType permission)
The type of permission.
permission
- The type of permission.InterfacePermissionType
,
InterfacePermissionType
NetworkInterfacePermission.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 method 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.Builder
permissionState(NetworkInterfacePermissionState)
Copyright © 2023. All rights reserved.