Skip to content

/AWS1/CL_EC2NATGATEWAYADDRESS

Describes the IP addresses and network interface associated with a NAT gateway.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_ALLOCATIONID TYPE /AWS1/EC2STRING /AWS1/EC2STRING

[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.

IV_NETWORKINTERFACEID TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The ID of the network interface associated with the NAT gateway.

IV_PRIVATEIP TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The private IP address associated with the NAT gateway.

IV_PUBLICIP TYPE /AWS1/EC2STRING /AWS1/EC2STRING

[Public NAT gateway only] The Elastic IP address associated with the NAT gateway.

IV_ASSOCIATIONID TYPE /AWS1/EC2STRING /AWS1/EC2STRING

[Public NAT gateway only] The association ID of the Elastic IP address that's associated with the NAT gateway.

IV_ISPRIMARY TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Defines if the IP address is the primary address.

IV_FAILUREMESSAGE TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The address failure message.

IV_STATUS TYPE /AWS1/EC2NATGWADDRESSSTATUS /AWS1/EC2NATGWADDRESSSTATUS

The address status.


Queryable Attributes

AllocationId

[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.

Accessible with the following methods

Method Description
GET_ALLOCATIONID() Getter for ALLOCATIONID, with configurable default
ASK_ALLOCATIONID() Getter for ALLOCATIONID w/ exceptions if field has no value
HAS_ALLOCATIONID() Determine if ALLOCATIONID has a value

NetworkInterfaceId

The ID of the network interface associated with the NAT gateway.

Accessible with the following methods

Method Description
GET_NETWORKINTERFACEID() Getter for NETWORKINTERFACEID, with configurable default
ASK_NETWORKINTERFACEID() Getter for NETWORKINTERFACEID w/ exceptions if field has no
HAS_NETWORKINTERFACEID() Determine if NETWORKINTERFACEID has a value

PrivateIp

The private IP address associated with the NAT gateway.

Accessible with the following methods

Method Description
GET_PRIVATEIP() Getter for PRIVATEIP, with configurable default
ASK_PRIVATEIP() Getter for PRIVATEIP w/ exceptions if field has no value
HAS_PRIVATEIP() Determine if PRIVATEIP has a value

PublicIp

[Public NAT gateway only] The Elastic IP address associated with the NAT gateway.

Accessible with the following methods

Method Description
GET_PUBLICIP() Getter for PUBLICIP, with configurable default
ASK_PUBLICIP() Getter for PUBLICIP w/ exceptions if field has no value
HAS_PUBLICIP() Determine if PUBLICIP has a value

AssociationId

[Public NAT gateway only] The association ID of the Elastic IP address that's associated with the NAT gateway.

Accessible with the following methods

Method Description
GET_ASSOCIATIONID() Getter for ASSOCIATIONID, with configurable default
ASK_ASSOCIATIONID() Getter for ASSOCIATIONID w/ exceptions if field has no value
HAS_ASSOCIATIONID() Determine if ASSOCIATIONID has a value

IsPrimary

Defines if the IP address is the primary address.

Accessible with the following methods

Method Description
GET_ISPRIMARY() Getter for ISPRIMARY, with configurable default
ASK_ISPRIMARY() Getter for ISPRIMARY w/ exceptions if field has no value
HAS_ISPRIMARY() Determine if ISPRIMARY has a value

FailureMessage

The address failure message.

Accessible with the following methods

Method Description
GET_FAILUREMESSAGE() Getter for FAILUREMESSAGE, with configurable default
ASK_FAILUREMESSAGE() Getter for FAILUREMESSAGE w/ exceptions if field has no valu
HAS_FAILUREMESSAGE() Determine if FAILUREMESSAGE has a value

Status

The address status.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_NATGATEWAYADDRESSLIST

TYPES TT_NATGATEWAYADDRESSLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2NATGATEWAYADDRESS WITH DEFAULT KEY
.