@Stability(value=Stable) public static final class CfnNetworkInterfacePermissionProps.Builder extends Object implements software.amazon.jsii.Builder<CfnNetworkInterfacePermissionProps>
CfnNetworkInterfacePermissionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnNetworkInterfacePermissionProps.Builder |
awsAccountId(String awsAccountId)
Sets the value of
CfnNetworkInterfacePermissionProps.getAwsAccountId() |
CfnNetworkInterfacePermissionProps |
build()
Builds the configured instance.
|
CfnNetworkInterfacePermissionProps.Builder |
networkInterfaceId(String networkInterfaceId)
Sets the value of
CfnNetworkInterfacePermissionProps.getNetworkInterfaceId() |
CfnNetworkInterfacePermissionProps.Builder |
permission(String permission)
Sets the value of
CfnNetworkInterfacePermissionProps.getPermission() |
@Stability(value=Stable) public CfnNetworkInterfacePermissionProps.Builder awsAccountId(String awsAccountId)
CfnNetworkInterfacePermissionProps.getAwsAccountId()awsAccountId - The AWS account ID. This parameter is required.this@Stability(value=Stable) public CfnNetworkInterfacePermissionProps.Builder networkInterfaceId(String networkInterfaceId)
CfnNetworkInterfacePermissionProps.getNetworkInterfaceId()networkInterfaceId - The ID of the network interface. This parameter is required.this@Stability(value=Stable) public CfnNetworkInterfacePermissionProps.Builder permission(String permission)
CfnNetworkInterfacePermissionProps.getPermission()permission - The type of permission to grant: `INSTANCE-ATTACH` or `EIP-ASSOCIATE` . This parameter is required.this@Stability(value=Stable) public CfnNetworkInterfacePermissionProps build()
build in interface software.amazon.jsii.Builder<CfnNetworkInterfacePermissionProps>CfnNetworkInterfacePermissionPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.