Class ConnectionsProps.Jsii$Proxy

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

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

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the ConnectionsProps.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 Port
    Default port range for initiating connections to and from this object.
    final IPeer
    Class that represents the rule by which others can connect to this connectable.
    What securityGroup(s) this object is managing connections for.
    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(ConnectionsProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ConnectionsProps.Builder.
  • Method Details

    • getDefaultPort

      public final Port getDefaultPort()
      Description copied from interface: ConnectionsProps
      Default port range for initiating connections to and from this object.

      Default: - No default port

      Specified by:
      getDefaultPort in interface ConnectionsProps
    • getPeer

      public final IPeer getPeer()
      Description copied from interface: ConnectionsProps
      Class that represents the rule by which others can connect to this connectable.

      This object is required, but will be derived from securityGroup if that is passed.

      Default: Derived from securityGroup if set.

      Specified by:
      getPeer in interface ConnectionsProps
    • getSecurityGroups

      public final List<ISecurityGroup> getSecurityGroups()
      Description copied from interface: ConnectionsProps
      What securityGroup(s) this object is managing connections for.

      Default: No security groups

      Specified by:
      getSecurityGroups in interface ConnectionsProps
    • $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