Package com.oracle.bmc.cloudbridge.model
Class InstanceNetworkInterface
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudbridge.model.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 theInstanceNetworkInterface.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 theInstanceNetworkInterface.Builder
, which maintain a set of all explicitly set fields calledInstanceNetworkInterface.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InstanceNetworkInterface.Builder
-
Constructor Summary
Constructors Constructor Description InstanceNetworkInterface(InstanceNetworkInterfaceAssociation association, InstanceNetworkInterfaceAttachment attachment, String description, List<GroupIdentifier> securityGroups, String interfaceType, List<String> ipv4Prefixes, List<String> ipv6Addresses, List<String> ipv6Prefixes, String macAddress, String networkInterfaceKey, String ownerKey, List<InstancePrivateIpAddress> privateIpAddresses, Boolean isSourceDestCheck, String status, String subnetKey)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstanceNetworkInterface.Builder
builder()
Create a new builder.boolean
equals(Object o)
InstanceNetworkInterfaceAssociation
getAssociation()
InstanceNetworkInterfaceAttachment
getAttachment()
String
getDescription()
The description.String
getInterfaceType()
The type of network interface.List<String>
getIpv4Prefixes()
The IPv4 delegated prefixes that are assigned to the network interface.List<String>
getIpv6Addresses()
The IPv6 addresses associated with the network interface.List<String>
getIpv6Prefixes()
The IPv6 delegated prefixes that are assigned to the network interface.Boolean
getIsSourceDestCheck()
Indicates whether source/destination checking is enabled.String
getMacAddress()
The MAC address.String
getNetworkInterfaceKey()
The ID of the network interface.String
getOwnerKey()
The ID of the AWS account that created the network interface.List<InstancePrivateIpAddress>
getPrivateIpAddresses()
The private IPv4 addresses associated with the network interface.List<GroupIdentifier>
getSecurityGroups()
The security groups.String
getStatus()
The status of the network interface.String
getSubnetKey()
The ID of the subnet.int
hashCode()
InstanceNetworkInterface.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
InstanceNetworkInterface
@Deprecated @ConstructorProperties({"association","attachment","description","securityGroups","interfaceType","ipv4Prefixes","ipv6Addresses","ipv6Prefixes","macAddress","networkInterfaceKey","ownerKey","privateIpAddresses","isSourceDestCheck","status","subnetKey"}) public InstanceNetworkInterface(InstanceNetworkInterfaceAssociation association, InstanceNetworkInterfaceAttachment attachment, String description, List<GroupIdentifier> securityGroups, String interfaceType, List<String> ipv4Prefixes, List<String> ipv6Addresses, List<String> ipv6Prefixes, String macAddress, String networkInterfaceKey, String ownerKey, List<InstancePrivateIpAddress> privateIpAddresses, Boolean isSourceDestCheck, String status, String subnetKey)
Deprecated.
-
-
Method Detail
-
builder
public static InstanceNetworkInterface.Builder builder()
Create a new builder.
-
toBuilder
public InstanceNetworkInterface.Builder toBuilder()
-
getAssociation
public InstanceNetworkInterfaceAssociation getAssociation()
-
getAttachment
public InstanceNetworkInterfaceAttachment getAttachment()
-
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 classcom.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 classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-