Class NetworkInterfacePermissionReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.ec2.NetworkInterfacePermissionReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetworkInterfacePermissionReference>
- Enclosing interface:
NetworkInterfacePermissionReference
@Stability(Stable)
public static final class NetworkInterfacePermissionReference.Builder
extends Object
implements software.amazon.jsii.Builder<NetworkInterfacePermissionReference>
A builder for
NetworkInterfacePermissionReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.networkInterfacePermissionId(String networkInterfacePermissionId) Sets the value ofNetworkInterfacePermissionReference.getNetworkInterfacePermissionId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
networkInterfacePermissionId
@Stability(Stable) public NetworkInterfacePermissionReference.Builder networkInterfacePermissionId(String networkInterfacePermissionId) Sets the value ofNetworkInterfacePermissionReference.getNetworkInterfacePermissionId()- Parameters:
networkInterfacePermissionId- The Id of the NetworkInterfacePermission resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetworkInterfacePermissionReference>- Returns:
- a new instance of
NetworkInterfacePermissionReference - Throws:
NullPointerException- if any required attribute was not provided
-