|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.AttachNetworkInterfaceRequest
public class AttachNetworkInterfaceRequest
Container for the parameters to the AttachNetworkInterface operation
.
AmazonEC2.attachNetworkInterface(AttachNetworkInterfaceRequest)
Constructor Summary | |
---|---|
AttachNetworkInterfaceRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
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 |
getNetworkInterfaceId()
Returns the value of the NetworkInterfaceId property for this object. |
int |
hashCode()
|
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 |
setNetworkInterfaceId(String networkInterfaceId)
Sets the value of the NetworkInterfaceId property for this object. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AttachNetworkInterfaceRequest |
withDeviceIndex(Integer deviceIndex)
Sets the value of the DeviceIndex property for this object. |
AttachNetworkInterfaceRequest |
withInstanceId(String instanceId)
Sets the value of the InstanceId property for this object. |
AttachNetworkInterfaceRequest |
withNetworkInterfaceId(String networkInterfaceId)
Sets the value of the NetworkInterfaceId property for this object. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AttachNetworkInterfaceRequest()
Method Detail |
---|
public String getNetworkInterfaceId()
public void setNetworkInterfaceId(String networkInterfaceId)
networkInterfaceId
- The new value for the NetworkInterfaceId property for this object.public AttachNetworkInterfaceRequest withNetworkInterfaceId(String networkInterfaceId)
Returns a reference to this object so that method calls can be chained together.
networkInterfaceId
- The new value for the NetworkInterfaceId property for this object.
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- The new value for the InstanceId property for this object.public AttachNetworkInterfaceRequest withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The new value for the InstanceId property for this object.
public Integer getDeviceIndex()
public void setDeviceIndex(Integer deviceIndex)
deviceIndex
- The new value for the DeviceIndex property for this object.public AttachNetworkInterfaceRequest withDeviceIndex(Integer deviceIndex)
Returns a reference to this object so that method calls can be chained together.
deviceIndex
- The new value for the DeviceIndex property for this object.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |