Class CfnNetworkAclEntry.IcmpProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.CfnNetworkAclEntry.IcmpProperty.Jsii$Proxy
All Implemented Interfaces:
CfnNetworkAclEntry.IcmpProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnNetworkAclEntry.IcmpProperty

@Stability(Stable) @Internal public static final class CfnNetworkAclEntry.IcmpProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnNetworkAclEntry.IcmpProperty
An implementation for CfnNetworkAclEntry.IcmpProperty
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnNetworkAclEntry.IcmpProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnNetworkAclEntry.IcmpProperty.Builder.
  • Method Details

    • getCode

      public final Number getCode()
      Description copied from interface: CfnNetworkAclEntry.IcmpProperty
      The Internet Control Message Protocol (ICMP) code.

      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.

      Specified by:
      getCode in interface CfnNetworkAclEntry.IcmpProperty
    • getType

      public final Number getType()
      Description copied from interface: CfnNetworkAclEntry.IcmpProperty
      The Internet Control Message Protocol (ICMP) type.

      You can use -1 to specify all ICMP types. Conditional requirement: Required if you specify 1 (ICMP) for the CreateNetworkAclEntry protocol parameter.

      Specified by:
      getType in interface CfnNetworkAclEntry.IcmpProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object