@Generated(value="OracleSDKGenerator", comments="API Version: 20220509") public final class InstanceNetworkInterfaceAssociation extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Describes association information for an Elastic IP address (IPv4).
Note: Objects should always be created or deserialized using the InstanceNetworkInterfaceAssociation.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the InstanceNetworkInterfaceAssociation.Builder
, which maintain a
set of all explicitly set fields called InstanceNetworkInterfaceAssociation.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
InstanceNetworkInterfaceAssociation.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
InstanceNetworkInterfaceAssociation(String carrierIp,
String customerOwnedIp,
String ipOwnerKey,
String publicDnsName,
String publicIp)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static InstanceNetworkInterfaceAssociation.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCarrierIp()
The carrier IP address associated with the network interface.
|
String |
getCustomerOwnedIp()
The customer-owned IP address associated with the network interface.
|
String |
getIpOwnerKey()
The ID of the owner of the Elastic IP address.
|
String |
getPublicDnsName()
The public DNS name.
|
String |
getPublicIp()
The public IP address or Elastic IP address bound to the network interface.
|
int |
hashCode() |
InstanceNetworkInterfaceAssociation.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"carrierIp","customerOwnedIp","ipOwnerKey","publicDnsName","publicIp"}) public InstanceNetworkInterfaceAssociation(String carrierIp, String customerOwnedIp, String ipOwnerKey, String publicDnsName, String publicIp)
public static InstanceNetworkInterfaceAssociation.Builder builder()
Create a new builder.
public InstanceNetworkInterfaceAssociation.Builder toBuilder()
public String getCarrierIp()
The carrier IP address associated with the network interface.
public String getCustomerOwnedIp()
The customer-owned IP address associated with the network interface.
public String getIpOwnerKey()
The ID of the owner of the Elastic IP address.
public String getPublicDnsName()
The public DNS name.
public String getPublicIp()
The public IP address or Elastic IP address bound to the network interface.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.