Class InstanceNetworkInterface


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20220509")
    public final class InstanceNetworkInterface
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Describes a network interface.
    Note: Objects should always be created or deserialized using the InstanceNetworkInterface.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 InstanceNetworkInterface.Builder, which maintain a set of all explicitly set fields called InstanceNetworkInterface.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).
    • Method Detail

      • getDescription

        public String getDescription()
        The description.
        Returns:
        the value
      • getSecurityGroups

        public List<GroupIdentifier> getSecurityGroups()
        The security groups.
        Returns:
        the value
      • getInterfaceType

        public String getInterfaceType()
        The type of network interface.
        Returns:
        the value
      • getIpv4Prefixes

        public List<String> getIpv4Prefixes()
        The IPv4 delegated prefixes that are assigned to the network interface.
        Returns:
        the value
      • getIpv6Addresses

        public List<String> getIpv6Addresses()
        The IPv6 addresses associated with the network interface.
        Returns:
        the value
      • getIpv6Prefixes

        public List<String> getIpv6Prefixes()
        The IPv6 delegated prefixes that are assigned to the network interface.
        Returns:
        the value
      • getMacAddress

        public String getMacAddress()
        The MAC address.
        Returns:
        the value
      • getNetworkInterfaceKey

        public String getNetworkInterfaceKey()
        The ID of the network interface.
        Returns:
        the value
      • getOwnerKey

        public String getOwnerKey()
        The ID of the AWS account that created the network interface.
        Returns:
        the value
      • getPrivateIpAddresses

        public List<InstancePrivateIpAddress> getPrivateIpAddresses()
        The private IPv4 addresses associated with the network interface.
        Returns:
        the value
      • getIsSourceDestCheck

        public Boolean getIsSourceDestCheck()
        Indicates whether source/destination checking is enabled.
        Returns:
        the value
      • getStatus

        public String getStatus()
        The status of the network interface.
        Returns:
        the value
      • getSubnetKey

        public String getSubnetKey()
        The ID of the subnet.
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel