Class AclPortRange.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class AclPortRange.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AclPortRange
An implementation for AclPortRange
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.AclPortRange

    AclPortRange.Builder, AclPortRange.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the AclPortRange.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final Number
    The first port in the range.
    final Number
    The last port in the range.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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(AclPortRange.Builder builder)
      Constructor that initializes the object based on literal property values passed by the AclPortRange.Builder.
  • Method Details

    • getFrom

      public final Number getFrom()
      Description copied from interface: AclPortRange
      The first port in the range.

      Required if you specify 6 (TCP) or 17 (UDP) for the protocol parameter.

      Specified by:
      getFrom in interface AclPortRange
    • getTo

      public final Number getTo()
      Description copied from interface: AclPortRange
      The last port in the range.

      Required if you specify 6 (TCP) or 17 (UDP) for the protocol parameter.

      Specified by:
      getTo in interface AclPortRange
    • $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