public static final class CfnEIPAssociationProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnEIPAssociationProps
CfnEIPAssociationProps
CfnEIPAssociationProps.Builder, CfnEIPAssociationProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAllocationId()
[EC2-VPC] The allocation ID.
|
java.lang.String |
getEip()
[EC2-Classic] The Elastic IP address to associate with the instance.
|
java.lang.String |
getInstanceId()
The ID of the instance.
|
java.lang.String |
getNetworkInterfaceId()
[EC2-VPC] The ID of the network interface.
|
java.lang.String |
getPrivateIpAddress()
[EC2-VPC] The primary or secondary private IP address to associate with the Elastic IP address.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getAllocationId()
CfnEIPAssociationProps
This is required for EC2-VPC.
getAllocationId
in interface CfnEIPAssociationProps
public final java.lang.String getEip()
CfnEIPAssociationProps
This is required for EC2-Classic.
getEip
in interface CfnEIPAssociationProps
public final java.lang.String getInstanceId()
CfnEIPAssociationProps
The instance must have exactly one attached network interface. For EC2-VPC, you can specify either the instance ID or the network interface ID, but not both. For EC2-Classic, you must specify an instance ID and the instance must be in the running state.
getInstanceId
in interface CfnEIPAssociationProps
public final java.lang.String getNetworkInterfaceId()
CfnEIPAssociationProps
If the instance has more than one network interface, you must specify a network interface ID.
For EC2-VPC, you can specify either the instance ID or the network interface ID, but not both.
getNetworkInterfaceId
in interface CfnEIPAssociationProps
public final java.lang.String getPrivateIpAddress()
CfnEIPAssociationProps
If no private IP address is specified, the Elastic IP address is associated with the primary private IP address.
getPrivateIpAddress
in interface CfnEIPAssociationProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()