@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PhysicalNetworkInterface extends Object implements Serializable, Cloneable, StructuredPojo
The details about the physical network interface for the device.
Constructor and Description |
---|
PhysicalNetworkInterface() |
Modifier and Type | Method and Description |
---|---|
PhysicalNetworkInterface |
clone() |
boolean |
equals(Object obj) |
String |
getDefaultGateway()
The default gateway of the device.
|
String |
getIpAddress()
The IP address of the device.
|
String |
getIpAddressAssignment()
A value that describes whether the IP address is dynamic or persistent.
|
String |
getMacAddress()
The MAC address of the device.
|
String |
getNetmask()
The netmask used to divide the IP address into subnets.
|
String |
getPhysicalConnectorType()
The physical connector type.
|
String |
getPhysicalNetworkInterfaceId()
The physical network interface ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefaultGateway(String defaultGateway)
The default gateway of the device.
|
void |
setIpAddress(String ipAddress)
The IP address of the device.
|
void |
setIpAddressAssignment(String ipAddressAssignment)
A value that describes whether the IP address is dynamic or persistent.
|
void |
setMacAddress(String macAddress)
The MAC address of the device.
|
void |
setNetmask(String netmask)
The netmask used to divide the IP address into subnets.
|
void |
setPhysicalConnectorType(String physicalConnectorType)
The physical connector type.
|
void |
setPhysicalNetworkInterfaceId(String physicalNetworkInterfaceId)
The physical network interface ID.
|
String |
toString()
Returns a string representation of this object.
|
PhysicalNetworkInterface |
withDefaultGateway(String defaultGateway)
The default gateway of the device.
|
PhysicalNetworkInterface |
withIpAddress(String ipAddress)
The IP address of the device.
|
PhysicalNetworkInterface |
withIpAddressAssignment(IpAddressAssignment ipAddressAssignment)
A value that describes whether the IP address is dynamic or persistent.
|
PhysicalNetworkInterface |
withIpAddressAssignment(String ipAddressAssignment)
A value that describes whether the IP address is dynamic or persistent.
|
PhysicalNetworkInterface |
withMacAddress(String macAddress)
The MAC address of the device.
|
PhysicalNetworkInterface |
withNetmask(String netmask)
The netmask used to divide the IP address into subnets.
|
PhysicalNetworkInterface |
withPhysicalConnectorType(PhysicalConnectorType physicalConnectorType)
The physical connector type.
|
PhysicalNetworkInterface |
withPhysicalConnectorType(String physicalConnectorType)
The physical connector type.
|
PhysicalNetworkInterface |
withPhysicalNetworkInterfaceId(String physicalNetworkInterfaceId)
The physical network interface ID.
|
public void setDefaultGateway(String defaultGateway)
The default gateway of the device.
defaultGateway
- The default gateway of the device.public String getDefaultGateway()
The default gateway of the device.
public PhysicalNetworkInterface withDefaultGateway(String defaultGateway)
The default gateway of the device.
defaultGateway
- The default gateway of the device.public void setIpAddress(String ipAddress)
The IP address of the device.
ipAddress
- The IP address of the device.public String getIpAddress()
The IP address of the device.
public PhysicalNetworkInterface withIpAddress(String ipAddress)
The IP address of the device.
ipAddress
- The IP address of the device.public void setIpAddressAssignment(String ipAddressAssignment)
A value that describes whether the IP address is dynamic or persistent.
ipAddressAssignment
- A value that describes whether the IP address is dynamic or persistent.IpAddressAssignment
public String getIpAddressAssignment()
A value that describes whether the IP address is dynamic or persistent.
IpAddressAssignment
public PhysicalNetworkInterface withIpAddressAssignment(String ipAddressAssignment)
A value that describes whether the IP address is dynamic or persistent.
ipAddressAssignment
- A value that describes whether the IP address is dynamic or persistent.IpAddressAssignment
public PhysicalNetworkInterface withIpAddressAssignment(IpAddressAssignment ipAddressAssignment)
A value that describes whether the IP address is dynamic or persistent.
ipAddressAssignment
- A value that describes whether the IP address is dynamic or persistent.IpAddressAssignment
public void setMacAddress(String macAddress)
The MAC address of the device.
macAddress
- The MAC address of the device.public String getMacAddress()
The MAC address of the device.
public PhysicalNetworkInterface withMacAddress(String macAddress)
The MAC address of the device.
macAddress
- The MAC address of the device.public void setNetmask(String netmask)
The netmask used to divide the IP address into subnets.
netmask
- The netmask used to divide the IP address into subnets.public String getNetmask()
The netmask used to divide the IP address into subnets.
public PhysicalNetworkInterface withNetmask(String netmask)
The netmask used to divide the IP address into subnets.
netmask
- The netmask used to divide the IP address into subnets.public void setPhysicalConnectorType(String physicalConnectorType)
The physical connector type.
physicalConnectorType
- The physical connector type.PhysicalConnectorType
public String getPhysicalConnectorType()
The physical connector type.
PhysicalConnectorType
public PhysicalNetworkInterface withPhysicalConnectorType(String physicalConnectorType)
The physical connector type.
physicalConnectorType
- The physical connector type.PhysicalConnectorType
public PhysicalNetworkInterface withPhysicalConnectorType(PhysicalConnectorType physicalConnectorType)
The physical connector type.
physicalConnectorType
- The physical connector type.PhysicalConnectorType
public void setPhysicalNetworkInterfaceId(String physicalNetworkInterfaceId)
The physical network interface ID.
physicalNetworkInterfaceId
- The physical network interface ID.public String getPhysicalNetworkInterfaceId()
The physical network interface ID.
public PhysicalNetworkInterface withPhysicalNetworkInterfaceId(String physicalNetworkInterfaceId)
The physical network interface ID.
physicalNetworkInterfaceId
- The physical network interface ID.public String toString()
toString
in class Object
Object.toString()
public PhysicalNetworkInterface clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.