public static interface CreateNetworkInterfacePermissionResponse.Builder extends Ec2Response.Builder, SdkPojo, 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, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, 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 method 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 © 2023. All rights reserved.