|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.PrivateIpAddressSpecification
public class PrivateIpAddressSpecification
Describes a secondary private IP address for a network interface.
Constructor Summary | |
---|---|
PrivateIpAddressSpecification()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Boolean |
getPrimary()
Indicates whether the private IP address is the primary private IP address. |
java.lang.String |
getPrivateIpAddress()
The private IP addresses. |
int |
hashCode()
|
java.lang.Boolean |
isPrimary()
Indicates whether the private IP address is the primary private IP address. |
void |
setPrimary(java.lang.Boolean primary)
Indicates whether the private IP address is the primary private IP address. |
void |
setPrivateIpAddress(java.lang.String privateIpAddress)
The private IP addresses. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
PrivateIpAddressSpecification |
withPrimary(java.lang.Boolean primary)
Indicates whether the private IP address is the primary private IP address. |
PrivateIpAddressSpecification |
withPrivateIpAddress(java.lang.String privateIpAddress)
The private IP addresses. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PrivateIpAddressSpecification()
Method Detail |
---|
public java.lang.String getPrivateIpAddress()
public void setPrivateIpAddress(java.lang.String privateIpAddress)
privateIpAddress
- The private IP addresses.public PrivateIpAddressSpecification withPrivateIpAddress(java.lang.String privateIpAddress)
Returns a reference to this object so that method calls can be chained together.
privateIpAddress
- The private IP addresses.
public java.lang.Boolean isPrimary()
public void setPrimary(java.lang.Boolean primary)
primary
- Indicates whether the private IP address is the primary private IP
address.public PrivateIpAddressSpecification withPrimary(java.lang.Boolean primary)
Returns a reference to this object so that method calls can be chained together.
primary
- Indicates whether the private IP address is the primary private IP
address.
public java.lang.Boolean getPrimary()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public 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 |