@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachNetworkInterfaceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of AttachNetworkInterface.
| Constructor and Description | 
|---|
AttachNetworkInterfaceResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
AttachNetworkInterfaceResult | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getAttachmentId()
 The ID of the network interface attachment. 
 | 
Integer | 
getNetworkCardIndex()
 The index of the network card. 
 | 
int | 
hashCode()  | 
void | 
setAttachmentId(String attachmentId)
 The ID of the network interface attachment. 
 | 
void | 
setNetworkCardIndex(Integer networkCardIndex)
 The index of the network card. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
AttachNetworkInterfaceResult | 
withAttachmentId(String attachmentId)
 The ID of the network interface attachment. 
 | 
AttachNetworkInterfaceResult | 
withNetworkCardIndex(Integer networkCardIndex)
 The index of the network card. 
 | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setAttachmentId(String attachmentId)
The ID of the network interface attachment.
attachmentId - The ID of the network interface attachment.public String getAttachmentId()
The ID of the network interface attachment.
public AttachNetworkInterfaceResult withAttachmentId(String attachmentId)
The ID of the network interface attachment.
attachmentId - The ID of the network interface attachment.public void setNetworkCardIndex(Integer networkCardIndex)
The index of the network card.
networkCardIndex - The index of the network card.public Integer getNetworkCardIndex()
The index of the network card.
public AttachNetworkInterfaceResult withNetworkCardIndex(Integer networkCardIndex)
The index of the network card.
networkCardIndex - The index of the network card.public String toString()
toString in class ObjectObject.toString()public AttachNetworkInterfaceResult clone()