public static interface CfnNetworkAclEntry.IcmpProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; IcmpProperty icmpProperty = IcmpProperty.builder() .code(123) .type(123) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnNetworkAclEntry.IcmpProperty.Builder
A builder for
CfnNetworkAclEntry.IcmpProperty |
static class |
CfnNetworkAclEntry.IcmpProperty.Jsii$Proxy
An implementation for
CfnNetworkAclEntry.IcmpProperty |
Modifier and Type | Method and Description |
---|---|
static CfnNetworkAclEntry.IcmpProperty.Builder |
builder() |
default java.lang.Number |
getCode()
The Internet Control Message Protocol (ICMP) code.
|
default java.lang.Number |
getType()
The Internet Control Message Protocol (ICMP) type.
|
default java.lang.Number getCode()
You can use -1 to specify all ICMP codes for the given ICMP type. Requirement is conditional: Required if you specify 1 (ICMP) for the protocol parameter.
default java.lang.Number getType()
You can use -1 to specify all ICMP types. Conditional requirement: Required if you specify 1 (ICMP) for the CreateNetworkAclEntry
protocol parameter.
static CfnNetworkAclEntry.IcmpProperty.Builder builder()