Package com.amazonaws.services.ec2.model
Class CreateNetworkInterfaceResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.CreateNetworkInterfaceResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class CreateNetworkInterfaceResult extends Object implements Serializable, Cloneable
Contains the output of CreateNetworkInterface.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateNetworkInterfaceResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateNetworkInterfaceResultclone()booleanequals(Object obj)NetworkInterfacegetNetworkInterface()Information about the network interface.inthashCode()voidsetNetworkInterface(NetworkInterface networkInterface)Information about the network interface.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateNetworkInterfaceResultwithNetworkInterface(NetworkInterface networkInterface)Information about the network interface.
-
-
-
Method Detail
-
setNetworkInterface
public void setNetworkInterface(NetworkInterface networkInterface)
Information about the network interface.
- Parameters:
networkInterface- Information about the network interface.
-
getNetworkInterface
public NetworkInterface getNetworkInterface()
Information about the network interface.
- Returns:
- Information about the network interface.
-
withNetworkInterface
public CreateNetworkInterfaceResult withNetworkInterface(NetworkInterface networkInterface)
Information about the network interface.
- Parameters:
networkInterface- Information about the network interface.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateNetworkInterfaceResult clone()
-
-