public class AssignPrivateIpAddressesRequest extends AmazonWebServiceRequest implements Serializable
AssignPrivateIpAddresses operation
.Constructor and Description |
---|
AssignPrivateIpAddressesRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.