Package com.amazonaws.services.ec2.model
Class DescribeNetworkInterfacesResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.DescribeNetworkInterfacesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeNetworkInterfacesResult extends Object implements Serializable, Cloneable
Contains the output of DescribeNetworkInterfaces.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeNetworkInterfacesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeNetworkInterfacesResult
clone()
boolean
equals(Object obj)
List<NetworkInterface>
getNetworkInterfaces()
Information about one or more network interfaces.int
hashCode()
void
setNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
Information about one or more network interfaces.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeNetworkInterfacesResult
withNetworkInterfaces(NetworkInterface... networkInterfaces)
Information about one or more network interfaces.DescribeNetworkInterfacesResult
withNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
Information about one or more network interfaces.
-
-
-
Method Detail
-
getNetworkInterfaces
public List<NetworkInterface> getNetworkInterfaces()
Information about one or more network interfaces.
- Returns:
- Information about one or more network interfaces.
-
setNetworkInterfaces
public void setNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
Information about one or more network interfaces.
- Parameters:
networkInterfaces
- Information about one or more network interfaces.
-
withNetworkInterfaces
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)
orwithNetworkInterfaces(java.util.Collection)
if you want to override the existing values.- Parameters:
networkInterfaces
- Information about one or more network interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withNetworkInterfaces
public DescribeNetworkInterfacesResult withNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
Information about one or more network interfaces.
- Parameters:
networkInterfaces
- Information about one or more network interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeNetworkInterfacesResult clone()
-
-