|
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.AssignPrivateIpAddressesRequest
public class AssignPrivateIpAddressesRequest
Container for the parameters to the AssignPrivateIpAddresses operation
.
AmazonEC2.assignPrivateIpAddresses(AssignPrivateIpAddressesRequest)
,
Serialized FormConstructor Summary | |
---|---|
AssignPrivateIpAddressesRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Boolean |
getAllowReassignment()
Returns the value of the AllowReassignment property for this object. |
String |
getNetworkInterfaceId()
Returns the value of the NetworkInterfaceId property for this object. |
List<String> |
getPrivateIpAddresses()
Returns the value of the PrivateIpAddresses property for this object. |
Integer |
getSecondaryPrivateIpAddressCount()
Returns the value of the SecondaryPrivateIpAddressCount property for this object. |
int |
hashCode()
|
Boolean |
isAllowReassignment()
Returns the value of the AllowReassignment property for this object. |
void |
setAllowReassignment(Boolean allowReassignment)
Sets the value of the AllowReassignment property for this object. |
void |
setNetworkInterfaceId(String networkInterfaceId)
Sets the value of the NetworkInterfaceId property for this object. |
void |
setPrivateIpAddresses(Collection<String> privateIpAddresses)
Sets the value of the PrivateIpAddresses property for this object. |
void |
setSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount)
Sets the value of the SecondaryPrivateIpAddressCount property for this object. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AssignPrivateIpAddressesRequest |
withAllowReassignment(Boolean allowReassignment)
Sets the value of the AllowReassignment property for this object. |
AssignPrivateIpAddressesRequest |
withNetworkInterfaceId(String networkInterfaceId)
Sets the value of the NetworkInterfaceId property for this object. |
AssignPrivateIpAddressesRequest |
withPrivateIpAddresses(Collection<String> privateIpAddresses)
Sets the value of the PrivateIpAddresses property for this object. |
AssignPrivateIpAddressesRequest |
withPrivateIpAddresses(String... privateIpAddresses)
Sets the value of the PrivateIpAddresses property for this object. |
AssignPrivateIpAddressesRequest |
withSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount)
Sets the value of the SecondaryPrivateIpAddressCount 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 AssignPrivateIpAddressesRequest()
Method Detail |
---|
public String getNetworkInterfaceId()
public void setNetworkInterfaceId(String networkInterfaceId)
networkInterfaceId
- The new value for the NetworkInterfaceId property for this object.public AssignPrivateIpAddressesRequest 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 List<String> getPrivateIpAddresses()
public void setPrivateIpAddresses(Collection<String> privateIpAddresses)
privateIpAddresses
- The new value for the PrivateIpAddresses property for this object.public AssignPrivateIpAddressesRequest withPrivateIpAddresses(String... privateIpAddresses)
Returns a reference to this object so that method calls can be chained together.
privateIpAddresses
- The new value for the PrivateIpAddresses property for this object.
public AssignPrivateIpAddressesRequest withPrivateIpAddresses(Collection<String> privateIpAddresses)
Returns a reference to this object so that method calls can be chained together.
privateIpAddresses
- The new value for the PrivateIpAddresses property for this object.
public Integer getSecondaryPrivateIpAddressCount()
public void setSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount)
secondaryPrivateIpAddressCount
- The new value for the SecondaryPrivateIpAddressCount property for this
object.public AssignPrivateIpAddressesRequest withSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount)
Returns a reference to this object so that method calls can be chained together.
secondaryPrivateIpAddressCount
- The new value for the SecondaryPrivateIpAddressCount property for this
object.
public Boolean isAllowReassignment()
public void setAllowReassignment(Boolean allowReassignment)
allowReassignment
- The new value for the AllowReassignment property for this object.public AssignPrivateIpAddressesRequest withAllowReassignment(Boolean allowReassignment)
Returns a reference to this object so that method calls can be chained together.
allowReassignment
- The new value for the AllowReassignment property for this object.
public Boolean getAllowReassignment()
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 |