Class CfnEIPAssociationProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CfnEIPAssociationProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnEIPAssociationProps
An implementation for CfnEIPAssociationProps
  • 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(CfnEIPAssociationProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnEIPAssociationProps.Builder.
  • Method Details

    • getAllocationId

      public final String getAllocationId()
      Description copied from interface: CfnEIPAssociationProps
      The allocation ID.

      This is required.

      Specified by:
      getAllocationId in interface CfnEIPAssociationProps
    • getEip

      public final String getEip()
      Description copied from interface: CfnEIPAssociationProps
      Deprecated.
      Specified by:
      getEip in interface CfnEIPAssociationProps
    • getInstanceId

      public final String getInstanceId()
      Description copied from interface: CfnEIPAssociationProps
      The ID of the instance.

      The instance must have exactly one attached network interface. You can specify either the instance ID or the network interface ID, but not both.

      Specified by:
      getInstanceId in interface CfnEIPAssociationProps
    • getNetworkInterfaceId

      public final String getNetworkInterfaceId()
      Description copied from interface: CfnEIPAssociationProps
      The ID of the network interface.

      If the instance has more than one network interface, you must specify a network interface ID.

      You can specify either the instance ID or the network interface ID, but not both.

      Specified by:
      getNetworkInterfaceId in interface CfnEIPAssociationProps
    • getPrivateIpAddress

      public final String getPrivateIpAddress()
      Description copied from interface: CfnEIPAssociationProps
      The primary or secondary private IP address to associate with the Elastic IP address.

      If no private IP address is specified, the Elastic IP address is associated with the primary private IP address.

      Specified by:
      getPrivateIpAddress in interface CfnEIPAssociationProps
    • $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