Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class NetworkInterfaceAttachment

java.lang.Object
  extended by com.amazonaws.services.ec2.model.NetworkInterfaceAttachment

public class NetworkInterfaceAttachment
extends Object

Network Interface Attachment


Constructor Summary
NetworkInterfaceAttachment()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAttachmentId()
          Returns the value of the AttachmentId property for this object.
 Date getAttachTime()
          Returns the value of the AttachTime property for this object.
 Boolean getDeleteOnTermination()
          Returns the value of the DeleteOnTermination property for this object.
 Integer getDeviceIndex()
          Returns the value of the DeviceIndex property for this object.
 String getInstanceId()
          Returns the value of the InstanceId property for this object.
 String getInstanceOwnerId()
          Returns the value of the InstanceOwnerId property for this object.
 String getStatus()
          Returns the value of the Status property for this object.
 int hashCode()
           
 Boolean isDeleteOnTermination()
          Returns the value of the DeleteOnTermination property for this object.
 void setAttachmentId(String attachmentId)
          Sets the value of the AttachmentId property for this object.
 void setAttachTime(Date attachTime)
          Sets the value of the AttachTime property for this object.
 void setDeleteOnTermination(Boolean deleteOnTermination)
          Sets the value of the DeleteOnTermination property for this object.
 void setDeviceIndex(Integer deviceIndex)
          Sets the value of the DeviceIndex property for this object.
 void setInstanceId(String instanceId)
          Sets the value of the InstanceId property for this object.
 void setInstanceOwnerId(String instanceOwnerId)
          Sets the value of the InstanceOwnerId property for this object.
 void setStatus(String status)
          Sets the value of the Status property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 NetworkInterfaceAttachment withAttachmentId(String attachmentId)
          Sets the value of the AttachmentId property for this object.
 NetworkInterfaceAttachment withAttachTime(Date attachTime)
          Sets the value of the AttachTime property for this object.
 NetworkInterfaceAttachment withDeleteOnTermination(Boolean deleteOnTermination)
          Sets the value of the DeleteOnTermination property for this object.
 NetworkInterfaceAttachment withDeviceIndex(Integer deviceIndex)
          Sets the value of the DeviceIndex property for this object.
 NetworkInterfaceAttachment withInstanceId(String instanceId)
          Sets the value of the InstanceId property for this object.
 NetworkInterfaceAttachment withInstanceOwnerId(String instanceOwnerId)
          Sets the value of the InstanceOwnerId property for this object.
 NetworkInterfaceAttachment withStatus(String status)
          Sets the value of the Status property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetworkInterfaceAttachment

public NetworkInterfaceAttachment()
Method Detail

getAttachmentId

public String getAttachmentId()
Returns the value of the AttachmentId property for this object.

Returns:
The value of the AttachmentId property for this object.

setAttachmentId

public void setAttachmentId(String attachmentId)
Sets the value of the AttachmentId property for this object.

Parameters:
attachmentId - The new value for the AttachmentId property for this object.

withAttachmentId

public NetworkInterfaceAttachment withAttachmentId(String attachmentId)
Sets the value of the AttachmentId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
attachmentId - The new value for the AttachmentId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceId

public String getInstanceId()
Returns the value of the InstanceId property for this object.

Returns:
The value of the InstanceId property for this object.

setInstanceId

public void setInstanceId(String instanceId)
Sets the value of the InstanceId property for this object.

Parameters:
instanceId - The new value for the InstanceId property for this object.

withInstanceId

public NetworkInterfaceAttachment withInstanceId(String instanceId)
Sets the value of the InstanceId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceId - The new value for the InstanceId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceOwnerId

public String getInstanceOwnerId()
Returns the value of the InstanceOwnerId property for this object.

Returns:
The value of the InstanceOwnerId property for this object.

setInstanceOwnerId

public void setInstanceOwnerId(String instanceOwnerId)
Sets the value of the InstanceOwnerId property for this object.

Parameters:
instanceOwnerId - The new value for the InstanceOwnerId property for this object.

withInstanceOwnerId

public NetworkInterfaceAttachment withInstanceOwnerId(String instanceOwnerId)
Sets the value of the InstanceOwnerId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceOwnerId - The new value for the InstanceOwnerId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getDeviceIndex

public Integer getDeviceIndex()
Returns the value of the DeviceIndex property for this object.

Returns:
The value of the DeviceIndex property for this object.

setDeviceIndex

public void setDeviceIndex(Integer deviceIndex)
Sets the value of the DeviceIndex property for this object.

Parameters:
deviceIndex - The new value for the DeviceIndex property for this object.

withDeviceIndex

public NetworkInterfaceAttachment withDeviceIndex(Integer deviceIndex)
Sets the value of the DeviceIndex property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
deviceIndex - The new value for the DeviceIndex property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getStatus

public String getStatus()
Returns the value of the Status property for this object.

Returns:
The value of the Status property for this object.

setStatus

public void setStatus(String status)
Sets the value of the Status property for this object.

Parameters:
status - The new value for the Status property for this object.

withStatus

public NetworkInterfaceAttachment withStatus(String status)
Sets the value of the Status property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
status - The new value for the Status property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getAttachTime

public Date getAttachTime()
Returns the value of the AttachTime property for this object.

Returns:
The value of the AttachTime property for this object.

setAttachTime

public void setAttachTime(Date attachTime)
Sets the value of the AttachTime property for this object.

Parameters:
attachTime - The new value for the AttachTime property for this object.

withAttachTime

public NetworkInterfaceAttachment withAttachTime(Date attachTime)
Sets the value of the AttachTime property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
attachTime - The new value for the AttachTime property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

isDeleteOnTermination

public Boolean isDeleteOnTermination()
Returns the value of the DeleteOnTermination property for this object.

Returns:
The value of the DeleteOnTermination property for this object.

setDeleteOnTermination

public void setDeleteOnTermination(Boolean deleteOnTermination)
Sets the value of the DeleteOnTermination property for this object.

Parameters:
deleteOnTermination - The new value for the DeleteOnTermination property for this object.

withDeleteOnTermination

public NetworkInterfaceAttachment withDeleteOnTermination(Boolean deleteOnTermination)
Sets the value of the DeleteOnTermination property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
deleteOnTermination - The new value for the DeleteOnTermination property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getDeleteOnTermination

public Boolean getDeleteOnTermination()
Returns the value of the DeleteOnTermination property for this object.

Returns:
The value of the DeleteOnTermination property for this object.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.