@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IpAddressMember extends Object implements Serializable, Cloneable, StructuredPojo
Provides information of the IP address.
Constructor and Description |
---|
IpAddressMember() |
Modifier and Type | Method and Description |
---|---|
IpAddressMember |
clone() |
boolean |
equals(Object obj) |
String |
getAllocationType()
The type of allocation for the IP address.
|
String |
getIpAddress()
The IP address.
|
Boolean |
getPrimary()
The primary IP address.
|
int |
hashCode() |
Boolean |
isPrimary()
The primary IP address.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllocationType(String allocationType)
The type of allocation for the IP address.
|
void |
setIpAddress(String ipAddress)
The IP address.
|
void |
setPrimary(Boolean primary)
The primary IP address.
|
String |
toString()
Returns a string representation of this object.
|
IpAddressMember |
withAllocationType(AllocationType allocationType)
The type of allocation for the IP address.
|
IpAddressMember |
withAllocationType(String allocationType)
The type of allocation for the IP address.
|
IpAddressMember |
withIpAddress(String ipAddress)
The IP address.
|
IpAddressMember |
withPrimary(Boolean primary)
The primary IP address.
|
public void setIpAddress(String ipAddress)
The IP address.
ipAddress
- The IP address.public String getIpAddress()
The IP address.
public IpAddressMember withIpAddress(String ipAddress)
The IP address.
ipAddress
- The IP address.public void setPrimary(Boolean primary)
The primary IP address.
primary
- The primary IP address.public Boolean getPrimary()
The primary IP address.
public IpAddressMember withPrimary(Boolean primary)
The primary IP address.
primary
- The primary IP address.public Boolean isPrimary()
The primary IP address.
public void setAllocationType(String allocationType)
The type of allocation for the IP address.
allocationType
- The type of allocation for the IP address.AllocationType
public String getAllocationType()
The type of allocation for the IP address.
AllocationType
public IpAddressMember withAllocationType(String allocationType)
The type of allocation for the IP address.
allocationType
- The type of allocation for the IP address.AllocationType
public IpAddressMember withAllocationType(AllocationType allocationType)
The type of allocation for the IP address.
allocationType
- The type of allocation for the IP address.AllocationType
public String toString()
toString
in class Object
Object.toString()
public IpAddressMember clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.