Interface NetworkInterfacePermission.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkInterfacePermission.Builder,
,NetworkInterfacePermission> SdkBuilder<NetworkInterfacePermission.Builder,
,NetworkInterfacePermission> SdkPojo
- Enclosing class:
NetworkInterfacePermission
public static interface NetworkInterfacePermission.Builder
extends SdkPojo, CopyableBuilder<NetworkInterfacePermission.Builder,NetworkInterfacePermission>
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId
(String awsAccountId) The Amazon Web Services account ID.awsService
(String awsService) The Amazon Web Service.networkInterfaceId
(String networkInterfaceId) The ID of the network interface.networkInterfacePermissionId
(String networkInterfacePermissionId) The ID of the network interface permission.permission
(String permission) The type of permission.permission
(InterfacePermissionType permission) The type of permission.permissionState
(Consumer<NetworkInterfacePermissionState.Builder> permissionState) Information about the state of the permission.permissionState
(NetworkInterfacePermissionState permissionState) Information about the state of the permission.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
networkInterfacePermissionId
NetworkInterfacePermission.Builder networkInterfacePermissionId(String networkInterfacePermissionId) The ID of the network interface permission.
- Parameters:
networkInterfacePermissionId
- The ID of the network interface permission.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaceId
The ID of the network interface.
- Parameters:
networkInterfaceId
- The ID of the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsAccountId
The Amazon Web Services account ID.
- Parameters:
awsAccountId
- The Amazon Web Services account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsService
The Amazon Web Service.
- Parameters:
awsService
- The Amazon Web Service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permission
The type of permission.
- Parameters:
permission
- The type of permission.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
permission
The type of permission.
- Parameters:
permission
- The type of permission.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
permissionState
Information about the state of the permission.
- Parameters:
permissionState
- Information about the state of the permission.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionState
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 viaNetworkInterfacePermissionState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topermissionState(NetworkInterfacePermissionState)
.- Parameters:
permissionState
- a consumer that will call methods onNetworkInterfacePermissionState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-