@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkInterface extends Object implements Serializable, Cloneable
Describes a network interface.
Constructor and Description |
---|
NetworkInterface() |
Modifier and Type | Method and Description |
---|---|
NetworkInterface |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone.
|
String |
getNetworkInterfaceId()
The network interface identifier.
|
String |
getPrivateIpAddress()
The IPv4 address of the network interface within the subnet.
|
String |
getSubnetId()
The subnet identifier.
|
int |
hashCode() |
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The network interface identifier.
|
void |
setPrivateIpAddress(String privateIpAddress)
The IPv4 address of the network interface within the subnet.
|
void |
setSubnetId(String subnetId)
The subnet identifier.
|
String |
toString()
Returns a string representation of this object.
|
NetworkInterface |
withAvailabilityZone(String availabilityZone)
The Availability Zone.
|
NetworkInterface |
withNetworkInterfaceId(String networkInterfaceId)
The network interface identifier.
|
NetworkInterface |
withPrivateIpAddress(String privateIpAddress)
The IPv4 address of the network interface within the subnet.
|
NetworkInterface |
withSubnetId(String subnetId)
The subnet identifier.
|
public void setNetworkInterfaceId(String networkInterfaceId)
The network interface identifier.
networkInterfaceId
- The network interface identifier.public String getNetworkInterfaceId()
The network interface identifier.
public NetworkInterface withNetworkInterfaceId(String networkInterfaceId)
The network interface identifier.
networkInterfaceId
- The network interface identifier.public void setSubnetId(String subnetId)
The subnet identifier.
subnetId
- The subnet identifier.public String getSubnetId()
The subnet identifier.
public NetworkInterface withSubnetId(String subnetId)
The subnet identifier.
subnetId
- The subnet identifier.public void setPrivateIpAddress(String privateIpAddress)
The IPv4 address of the network interface within the subnet.
privateIpAddress
- The IPv4 address of the network interface within the subnet.public String getPrivateIpAddress()
The IPv4 address of the network interface within the subnet.
public NetworkInterface withPrivateIpAddress(String privateIpAddress)
The IPv4 address of the network interface within the subnet.
privateIpAddress
- The IPv4 address of the network interface within the subnet.public void setAvailabilityZone(String availabilityZone)
The Availability Zone.
availabilityZone
- The Availability Zone.public String getAvailabilityZone()
The Availability Zone.
public NetworkInterface withAvailabilityZone(String availabilityZone)
The Availability Zone.
availabilityZone
- The Availability Zone.public String toString()
toString
in class Object
Object.toString()
public NetworkInterface clone()