@Stability(value=Stable) @Internal public static final class CfnEIPAssociationProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnEIPAssociationProps
CfnEIPAssociationPropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnEIPAssociationProps.Builder, CfnEIPAssociationProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnEIPAssociationProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnEIPAssociationProps.Builder. |
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(Object o) |
String |
getAllocationId()
[EC2-VPC] The allocation ID.
|
String |
getEip()
[EC2-Classic] The Elastic IP address to associate with the instance.
|
String |
getInstanceId()
The ID of the instance.
|
String |
getNetworkInterfaceId()
[EC2-VPC] The ID of the network interface.
|
String |
getPrivateIpAddress()
[EC2-VPC] The primary or secondary private IP address to associate with the Elastic IP address.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnEIPAssociationProps.Builder builder)
CfnEIPAssociationProps.Builder.public final String getAllocationId()
CfnEIPAssociationPropsThis is required for EC2-VPC.
getAllocationId in interface CfnEIPAssociationPropspublic final String getEip()
CfnEIPAssociationPropsThis is required for EC2-Classic.
getEip in interface CfnEIPAssociationPropspublic final String getInstanceId()
CfnEIPAssociationPropsThe 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 CfnEIPAssociationPropspublic final String getNetworkInterfaceId()
CfnEIPAssociationPropsIf 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 CfnEIPAssociationPropspublic final String getPrivateIpAddress()
CfnEIPAssociationPropsIf no private IP address is specified, the Elastic IP address is associated with the primary private IP address.
getPrivateIpAddress in interface CfnEIPAssociationProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.