Package com.amazonaws.services.ec2.model
Class AttachNetworkInterfaceResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.AttachNetworkInterfaceResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class AttachNetworkInterfaceResult extends Object implements Serializable, Cloneable
Contains the output of AttachNetworkInterface.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AttachNetworkInterfaceResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachNetworkInterfaceResultclone()booleanequals(Object obj)StringgetAttachmentId()The ID of the network interface attachment.inthashCode()voidsetAttachmentId(String attachmentId)The ID of the network interface attachment.StringtoString()Returns a string representation of this object; useful for testing and debugging.AttachNetworkInterfaceResultwithAttachmentId(String attachmentId)The ID of the network interface attachment.
-
-
-
Method Detail
-
setAttachmentId
public void setAttachmentId(String attachmentId)
The ID of the network interface attachment.
- Parameters:
attachmentId- The ID of the network interface attachment.
-
getAttachmentId
public String getAttachmentId()
The ID of the network interface attachment.
- Returns:
- The ID of the network interface attachment.
-
withAttachmentId
public AttachNetworkInterfaceResult withAttachmentId(String attachmentId)
The ID of the network interface attachment.
- Parameters:
attachmentId- The ID of the network interface attachment.- 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 AttachNetworkInterfaceResult clone()
-
-