|
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.services.storagegateway.model.NetworkInterface
public class NetworkInterface
Describes a gateway's network interface.
Constructor Summary | |
---|---|
NetworkInterface()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getIpv4Address()
The Internet Protocol version 4 (IPv4) address of the interface. |
String |
getIpv6Address()
The Internet Protocol version 6 (IPv6) address of the interface. |
String |
getMacAddress()
The Media Access Control (MAC) address of the interface. |
int |
hashCode()
|
void |
setIpv4Address(String ipv4Address)
The Internet Protocol version 4 (IPv4) address of the interface. |
void |
setIpv6Address(String ipv6Address)
The Internet Protocol version 6 (IPv6) address of the interface. |
void |
setMacAddress(String macAddress)
The Media Access Control (MAC) address of the interface. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
NetworkInterface |
withIpv4Address(String ipv4Address)
The Internet Protocol version 4 (IPv4) address of the interface. |
NetworkInterface |
withIpv6Address(String ipv6Address)
The Internet Protocol version 6 (IPv6) address of the interface. |
NetworkInterface |
withMacAddress(String macAddress)
The Media Access Control (MAC) address of the interface. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NetworkInterface()
Method Detail |
---|
public String getIpv4Address()
public void setIpv4Address(String ipv4Address)
ipv4Address
- The Internet Protocol version 4 (IPv4) address of the interface.public NetworkInterface withIpv4Address(String ipv4Address)
Returns a reference to this object so that method calls can be chained together.
ipv4Address
- The Internet Protocol version 4 (IPv4) address of the interface.
public String getMacAddress()
public void setMacAddress(String macAddress)
macAddress
- The Media Access Control (MAC) address of the interface. public NetworkInterface withMacAddress(String macAddress)
Returns a reference to this object so that method calls can be chained together.
macAddress
- The Media Access Control (MAC) address of the interface. public String getIpv6Address()
public void setIpv6Address(String ipv6Address)
ipv6Address
- The Internet Protocol version 6 (IPv6) address of the interface.
Currently not supported.public NetworkInterface withIpv6Address(String ipv6Address)
Returns a reference to this object so that method calls can be chained together.
ipv6Address
- The Internet Protocol version 6 (IPv6) address of the interface.
Currently not supported.
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 |