Package com.amazonaws.services.ec2.model
Class DescribeNetworkInterfacesResult
java.lang.Object
com.amazonaws.services.ec2.model.DescribeNetworkInterfacesResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output of DescribeNetworkInterfaces.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Information about one or more network interfaces.int
hashCode()
void
setNetworkInterfaces
(Collection<NetworkInterface> networkInterfaces) Information about one or more network interfaces.toString()
Returns a string representation of this object; useful for testing and debugging.withNetworkInterfaces
(NetworkInterface... networkInterfaces) Information about one or more network interfaces.withNetworkInterfaces
(Collection<NetworkInterface> networkInterfaces) Information about one or more network interfaces.
-
Constructor Details
-
DescribeNetworkInterfacesResult
public DescribeNetworkInterfacesResult()
-
-
Method Details
-
getNetworkInterfaces
Information about one or more network interfaces.
- Returns:
- Information about one or more network interfaces.
-
setNetworkInterfaces
Information about one or more network interfaces.
- Parameters:
networkInterfaces
- Information about one or more network interfaces.
-
withNetworkInterfaces
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-