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 AttachNetworkInterfaceResult
clone()
boolean
equals(Object obj)
String
getAttachmentId()
The ID of the network interface attachment.int
hashCode()
void
setAttachmentId(String attachmentId)
The ID of the network interface attachment.String
toString()
Returns a string representation of this object; useful for testing and debugging.AttachNetworkInterfaceResult
withAttachmentId(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AttachNetworkInterfaceResult clone()
-
-