Class PortProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class PortProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PortProps
An implementation for PortProps
  • 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.PortProps

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the PortProps.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 starting port for the range.
    final Protocol
    The protocol for the range.
    final String
    String representation for this object.
    final Number
    The ending port for 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(PortProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the PortProps.Builder.
  • Method Details

    • getProtocol

      public final Protocol getProtocol()
      Description copied from interface: PortProps
      The protocol for the range.
      Specified by:
      getProtocol in interface PortProps
    • getStringRepresentation

      public final String getStringRepresentation()
      Description copied from interface: PortProps
      String representation for this object.
      Specified by:
      getStringRepresentation in interface PortProps
    • getFromPort

      public final Number getFromPort()
      Description copied from interface: PortProps
      The starting port for the range.

      Default: - Not included in the rule

      Specified by:
      getFromPort in interface PortProps
    • getToPort

      public final Number getToPort()
      Description copied from interface: PortProps
      The ending port for the range.

      Default: - Not included in the rule

      Specified by:
      getToPort in interface PortProps
    • $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