public class DescribeNetworkInterfacesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of DescribeNetworkInterfaces.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<NetworkInterface> |
networkInterfaces
Information about one or more network interfaces.
|
Constructor and Description |
---|
DescribeNetworkInterfacesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeNetworkInterfacesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<NetworkInterface> |
getNetworkInterfaces()
Information about one or more network interfaces.
|
int |
hashCode() |
void |
setNetworkInterfaces(java.util.Collection<NetworkInterface> networkInterfaces)
Information about one or more network interfaces.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeNetworkInterfacesResult |
withNetworkInterfaces(java.util.Collection<NetworkInterface> networkInterfaces)
Information about one or more network interfaces.
|
DescribeNetworkInterfacesResult |
withNetworkInterfaces(NetworkInterface... networkInterfaces)
Information about one or more network interfaces.
|
private SdkInternalList<NetworkInterface> networkInterfaces
Information about one or more network interfaces.
public java.util.List<NetworkInterface> getNetworkInterfaces()
Information about one or more network interfaces.
public void setNetworkInterfaces(java.util.Collection<NetworkInterface> networkInterfaces)
Information about one or more network interfaces.
networkInterfaces
- Information about one or more network interfaces.public DescribeNetworkInterfacesResult withNetworkInterfaces(NetworkInterface... networkInterfaces)
Information about one or more network interfaces.
NOTE: This method appends the values to the existing list (if
any). Use setNetworkInterfaces(java.util.Collection)
or
withNetworkInterfaces(java.util.Collection)
if you want to
override the existing values.
networkInterfaces
- Information about one or more network interfaces.public DescribeNetworkInterfacesResult withNetworkInterfaces(java.util.Collection<NetworkInterface> networkInterfaces)
Information about one or more network interfaces.
networkInterfaces
- Information about one or more network interfaces.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeNetworkInterfacesResult clone()
clone
in class java.lang.Object