Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.storagegateway.model
Class NetworkInterface

java.lang.Object
  extended by com.amazonaws.services.storagegateway.model.NetworkInterface
All Implemented Interfaces:
Serializable

public class NetworkInterface
extends Object
implements Serializable

Describes a gateway's network interface.

See Also:
Serialized Form

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

NetworkInterface

public NetworkInterface()
Method Detail

getIpv4Address

public String getIpv4Address()
The Internet Protocol version 4 (IPv4) address of the interface.

Returns:
The Internet Protocol version 4 (IPv4) address of the interface.

setIpv4Address

public void setIpv4Address(String ipv4Address)
The Internet Protocol version 4 (IPv4) address of the interface.

Parameters:
ipv4Address - The Internet Protocol version 4 (IPv4) address of the interface.

withIpv4Address

public NetworkInterface withIpv4Address(String ipv4Address)
The Internet Protocol version 4 (IPv4) address of the interface.

Returns a reference to this object so that method calls can be chained together.

Parameters:
ipv4Address - The Internet Protocol version 4 (IPv4) address of the interface.
Returns:
A reference to this updated object so that method calls can be chained together.

getMacAddress

public String getMacAddress()
The Media Access Control (MAC) address of the interface. This is currently unsupported and will not be returned in output.

Returns:
The Media Access Control (MAC) address of the interface. This is currently unsupported and will not be returned in output.

setMacAddress

public void setMacAddress(String macAddress)
The Media Access Control (MAC) address of the interface. This is currently unsupported and will not be returned in output.

Parameters:
macAddress - The Media Access Control (MAC) address of the interface. This is currently unsupported and will not be returned in output.

withMacAddress

public NetworkInterface withMacAddress(String macAddress)
The Media Access Control (MAC) address of the interface. This is currently unsupported and will not be returned in output.

Returns a reference to this object so that method calls can be chained together.

Parameters:
macAddress - The Media Access Control (MAC) address of the interface. This is currently unsupported and will not be returned in output.
Returns:
A reference to this updated object so that method calls can be chained together.

getIpv6Address

public String getIpv6Address()
The Internet Protocol version 6 (IPv6) address of the interface. Currently not supported.

Returns:
The Internet Protocol version 6 (IPv6) address of the interface. Currently not supported.

setIpv6Address

public void setIpv6Address(String ipv6Address)
The Internet Protocol version 6 (IPv6) address of the interface. Currently not supported.

Parameters:
ipv6Address - The Internet Protocol version 6 (IPv6) address of the interface. Currently not supported.

withIpv6Address

public NetworkInterface withIpv6Address(String ipv6Address)
The Internet Protocol version 6 (IPv6) address of the interface. Currently not supported.

Returns a reference to this object so that method calls can be chained together.

Parameters:
ipv6Address - The Internet Protocol version 6 (IPv6) address of the interface. Currently not supported.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.