|
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.CreateNetworkInterfaceRequest
public class CreateNetworkInterfaceRequest
Container for the parameters to the CreateNetworkInterface operation.
AmazonEC2.createNetworkInterface(CreateNetworkInterfaceRequest),
Serialized Form| Constructor Summary | |
|---|---|
CreateNetworkInterfaceRequest()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getDescription()
Returns the value of the Description property for this object. |
java.util.List<java.lang.String> |
getGroups()
Returns the value of the Groups property for this object. |
java.lang.String |
getPrivateIpAddress()
Returns the value of the PrivateIpAddress property for this object. |
java.util.List<PrivateIpAddressSpecification> |
getPrivateIpAddresses()
Returns the value of the PrivateIpAddresses property for this object. |
java.lang.Integer |
getSecondaryPrivateIpAddressCount()
Returns the value of the SecondaryPrivateIpAddressCount property for this object. |
java.lang.String |
getSubnetId()
Returns the value of the SubnetId property for this object. |
int |
hashCode()
|
void |
setDescription(java.lang.String description)
Sets the value of the Description property for this object. |
void |
setGroups(java.util.Collection<java.lang.String> groups)
Sets the value of the Groups property for this object. |
void |
setPrivateIpAddress(java.lang.String privateIpAddress)
Sets the value of the PrivateIpAddress property for this object. |
void |
setPrivateIpAddresses(java.util.Collection<PrivateIpAddressSpecification> privateIpAddresses)
Sets the value of the PrivateIpAddresses property for this object. |
void |
setSecondaryPrivateIpAddressCount(java.lang.Integer secondaryPrivateIpAddressCount)
Sets the value of the SecondaryPrivateIpAddressCount property for this object. |
void |
setSubnetId(java.lang.String subnetId)
Sets the value of the SubnetId property for this object. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateNetworkInterfaceRequest |
withDescription(java.lang.String description)
Sets the value of the Description property for this object. |
CreateNetworkInterfaceRequest |
withGroups(java.util.Collection<java.lang.String> groups)
Sets the value of the Groups property for this object. |
CreateNetworkInterfaceRequest |
withGroups(java.lang.String... groups)
Sets the value of the Groups property for this object. |
CreateNetworkInterfaceRequest |
withPrivateIpAddress(java.lang.String privateIpAddress)
Sets the value of the PrivateIpAddress property for this object. |
CreateNetworkInterfaceRequest |
withPrivateIpAddresses(java.util.Collection<PrivateIpAddressSpecification> privateIpAddresses)
Sets the value of the PrivateIpAddresses property for this object. |
CreateNetworkInterfaceRequest |
withPrivateIpAddresses(PrivateIpAddressSpecification... privateIpAddresses)
Sets the value of the PrivateIpAddresses property for this object. |
CreateNetworkInterfaceRequest |
withSecondaryPrivateIpAddressCount(java.lang.Integer secondaryPrivateIpAddressCount)
Sets the value of the SecondaryPrivateIpAddressCount property for this object. |
CreateNetworkInterfaceRequest |
withSubnetId(java.lang.String subnetId)
Sets the value of the SubnetId 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 CreateNetworkInterfaceRequest()
| Method Detail |
|---|
public java.lang.String getSubnetId()
public void setSubnetId(java.lang.String subnetId)
subnetId - The new value for the SubnetId property for this object.public CreateNetworkInterfaceRequest withSubnetId(java.lang.String subnetId)
Returns a reference to this object so that method calls can be chained together.
subnetId - The new value for the SubnetId property for this object.
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - The new value for the Description property for this object.public CreateNetworkInterfaceRequest withDescription(java.lang.String description)
Returns a reference to this object so that method calls can be chained together.
description - The new value for the Description property for this object.
public java.lang.String getPrivateIpAddress()
public void setPrivateIpAddress(java.lang.String privateIpAddress)
privateIpAddress - The new value for the PrivateIpAddress property for this object.public CreateNetworkInterfaceRequest withPrivateIpAddress(java.lang.String privateIpAddress)
Returns a reference to this object so that method calls can be chained together.
privateIpAddress - The new value for the PrivateIpAddress property for this object.
public java.util.List<java.lang.String> getGroups()
public void setGroups(java.util.Collection<java.lang.String> groups)
groups - The new value for the Groups property for this object.public CreateNetworkInterfaceRequest withGroups(java.lang.String... groups)
Returns a reference to this object so that method calls can be chained together.
groups - The new value for the Groups property for this object.
public CreateNetworkInterfaceRequest withGroups(java.util.Collection<java.lang.String> groups)
Returns a reference to this object so that method calls can be chained together.
groups - The new value for the Groups property for this object.
public java.util.List<PrivateIpAddressSpecification> getPrivateIpAddresses()
public void setPrivateIpAddresses(java.util.Collection<PrivateIpAddressSpecification> privateIpAddresses)
privateIpAddresses - The new value for the PrivateIpAddresses property for this object.public CreateNetworkInterfaceRequest withPrivateIpAddresses(PrivateIpAddressSpecification... 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 CreateNetworkInterfaceRequest withPrivateIpAddresses(java.util.Collection<PrivateIpAddressSpecification> 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 java.lang.Integer getSecondaryPrivateIpAddressCount()
public void setSecondaryPrivateIpAddressCount(java.lang.Integer secondaryPrivateIpAddressCount)
secondaryPrivateIpAddressCount - The new value for the SecondaryPrivateIpAddressCount property for this
object.public CreateNetworkInterfaceRequest withSecondaryPrivateIpAddressCount(java.lang.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||