|
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 FormConstructor Summary | |
---|---|
CreateNetworkInterfaceRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getDescription()
Returns the value of the Description property for this object. |
List<String> |
getGroups()
Returns the value of the Groups property for this object. |
String |
getPrivateIpAddress()
Returns the value of the PrivateIpAddress property for this object. |
List<PrivateIpAddressSpecification> |
getPrivateIpAddresses()
Returns the value of the PrivateIpAddresses property for this object. |
Integer |
getSecondaryPrivateIpAddressCount()
Returns the value of the SecondaryPrivateIpAddressCount property for this object. |
String |
getSubnetId()
Returns the value of the SubnetId property for this object. |
int |
hashCode()
|
void |
setDescription(String description)
Sets the value of the Description property for this object. |
void |
setGroups(Collection<String> groups)
Sets the value of the Groups property for this object. |
void |
setPrivateIpAddress(String privateIpAddress)
Sets the value of the PrivateIpAddress property for this object. |
void |
setPrivateIpAddresses(Collection<PrivateIpAddressSpecification> 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. |
void |
setSubnetId(String subnetId)
Sets the value of the SubnetId property for this object. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateNetworkInterfaceRequest |
withDescription(String description)
Sets the value of the Description property for this object. |
CreateNetworkInterfaceRequest |
withGroups(Collection<String> groups)
Sets the value of the Groups property for this object. |
CreateNetworkInterfaceRequest |
withGroups(String... groups)
Sets the value of the Groups property for this object. |
CreateNetworkInterfaceRequest |
withPrivateIpAddress(String privateIpAddress)
Sets the value of the PrivateIpAddress property for this object. |
CreateNetworkInterfaceRequest |
withPrivateIpAddresses(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(Integer secondaryPrivateIpAddressCount)
Sets the value of the SecondaryPrivateIpAddressCount property for this object. |
CreateNetworkInterfaceRequest |
withSubnetId(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 String getSubnetId()
public void setSubnetId(String subnetId)
subnetId
- The new value for the SubnetId property for this object.public CreateNetworkInterfaceRequest withSubnetId(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 String getDescription()
public void setDescription(String description)
description
- The new value for the Description property for this object.public CreateNetworkInterfaceRequest withDescription(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 String getPrivateIpAddress()
public void setPrivateIpAddress(String privateIpAddress)
privateIpAddress
- The new value for the PrivateIpAddress property for this object.public CreateNetworkInterfaceRequest withPrivateIpAddress(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 List<String> getGroups()
public void setGroups(Collection<String> groups)
groups
- The new value for the Groups property for this object.public CreateNetworkInterfaceRequest withGroups(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(Collection<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 List<PrivateIpAddressSpecification> getPrivateIpAddresses()
public void setPrivateIpAddresses(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(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 Integer getSecondaryPrivateIpAddressCount()
public void setSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount)
secondaryPrivateIpAddressCount
- The new value for the SecondaryPrivateIpAddressCount property for this
object.public CreateNetworkInterfaceRequest 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 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 |