Interface NetworkInterfacePermission.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkInterfacePermission.Builder,NetworkInterfacePermission>,SdkBuilder<NetworkInterfacePermission.Builder,NetworkInterfacePermission>,SdkPojo
- Enclosing class:
- NetworkInterfacePermission
@Mutable @NotThreadSafe public static interface NetworkInterfacePermission.Builder extends SdkPojo, CopyableBuilder<NetworkInterfacePermission.Builder,NetworkInterfacePermission>
-
-
Method Summary
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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
NetworkInterfacePermission.Builder networkInterfaceId(String 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
NetworkInterfacePermission.Builder awsAccountId(String 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
NetworkInterfacePermission.Builder awsService(String awsService)
The Amazon Web Services service.
- Parameters:
awsService- The Amazon Web Services service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permission
NetworkInterfacePermission.Builder permission(String 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:
InterfacePermissionType,InterfacePermissionType
-
permission
NetworkInterfacePermission.Builder permission(InterfacePermissionType 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:
InterfacePermissionType,InterfacePermissionType
-
permissionState
NetworkInterfacePermission.Builder permissionState(NetworkInterfacePermissionState 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.Builderavoiding the need to create one manually viaNetworkInterfacePermissionState.builder().When the
Consumercompletes,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:
permissionState(NetworkInterfacePermissionState)
-
-