public class CreateNetworkInterfaceRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<CreateNetworkInterfaceRequest>
CreateNetworkInterface operation.| Constructor and Description |
|---|
CreateNetworkInterfaceRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDescription()
Returns the value of the Description property for this object.
|
Request<CreateNetworkInterfaceRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic 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 Request<CreateNetworkInterfaceRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<CreateNetworkInterfaceRequest>public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.