public class CreateNetworkInterfaceRequest extends AmazonWebServiceRequest implements java.io.Serializable
CreateNetworkInterface operation.| コンストラクタと説明 |
|---|
CreateNetworkInterfaceRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic 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 クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object