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 CreateNetworkInterfaceResult
clone()
boolean
equals(Object obj)
NetworkInterface
getNetworkInterface()
Information about the network interface.int
hashCode()
void
setNetworkInterface(NetworkInterface networkInterface)
Information about the network interface.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateNetworkInterfaceResult
withNetworkInterface(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateNetworkInterfaceResult clone()
-
-