public class InstanceNetworkInterface extends Object implements Serializable
Constructor and Description |
---|
InstanceNetworkInterface() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
InstanceNetworkInterfaceAssociation |
getAssociation()
The association information for an Elastic IPv4 associated with the network interface.
|
InstanceNetworkInterfaceAttachment |
getAttachment()
The network interface attachment.
|
String |
getDescription()
The description.
|
List<GroupIdentifier> |
getGroups()
One or more security groups.
|
List<InstanceIpv6Address> |
getIpv6Addresses()
One or more IPv6 addresses associated with the network interface.
|
String |
getMacAddress()
The MAC address.
|
String |
getNetworkInterfaceId()
The ID of the network interface.
|
String |
getOwnerId()
The ID of the AWS account that created the network interface.
|
String |
getPrivateDnsName()
The private DNS name.
|
String |
getPrivateIpAddress()
The IPv4 address of the network interface within the subnet.
|
List<InstancePrivateIpAddress> |
getPrivateIpAddresses()
One or more private IPv4 addresses associated with the network interface.
|
Boolean |
getSourceDestCheck()
Indicates whether to validate network traffic to or from this network interface.
|
String |
getStatus()
The status of the network interface.
|
String |
getSubnetId()
The ID of the subnet.
|
String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
Boolean |
isSourceDestCheck()
Indicates whether to validate network traffic to or from this network interface.
|
void |
setAssociation(InstanceNetworkInterfaceAssociation association)
The association information for an Elastic IPv4 associated with the network interface.
|
void |
setAttachment(InstanceNetworkInterfaceAttachment attachment)
The network interface attachment.
|
void |
setDescription(String description)
The description.
|
void |
setGroups(Collection<GroupIdentifier> groups)
One or more security groups.
|
void |
setIpv6Addresses(Collection<InstanceIpv6Address> ipv6Addresses)
One or more IPv6 addresses associated with the network interface.
|
void |
setMacAddress(String macAddress)
The MAC address.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
void |
setOwnerId(String ownerId)
The ID of the AWS account that created the network interface.
|
void |
setPrivateDnsName(String privateDnsName)
The private DNS name.
|
void |
setPrivateIpAddress(String privateIpAddress)
The IPv4 address of the network interface within the subnet.
|
void |
setPrivateIpAddresses(Collection<InstancePrivateIpAddress> privateIpAddresses)
One or more private IPv4 addresses associated with the network interface.
|
void |
setSourceDestCheck(Boolean sourceDestCheck)
Indicates whether to validate network traffic to or from this network interface.
|
void |
setStatus(NetworkInterfaceStatus status)
The status of the network interface.
|
void |
setStatus(String status)
The status of the network interface.
|
void |
setSubnetId(String subnetId)
The ID of the subnet.
|
void |
setVpcId(String vpcId)
The ID of the VPC.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
public void setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public String getNetworkInterfaceId()
The ID of the network interface.
public void setSubnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.public String getSubnetId()
The ID of the subnet.
public void setVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public String getVpcId()
The ID of the VPC.
public void setDescription(String description)
The description.
description
- The description.public String getDescription()
The description.
public void setOwnerId(String ownerId)
The ID of the AWS account that created the network interface.
ownerId
- The ID of the AWS account that created the network interface.public String getOwnerId()
The ID of the AWS account that created the network interface.
public void setStatus(String status)
The status of the network interface.
status
- The status of the network interface.NetworkInterfaceStatus
public String getStatus()
The status of the network interface.
NetworkInterfaceStatus
public void setStatus(NetworkInterfaceStatus status)
The status of the network interface.
status
- The status of the network interface.NetworkInterfaceStatus
public void setMacAddress(String macAddress)
The MAC address.
macAddress
- The MAC address.public String getMacAddress()
The MAC address.
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 void setPrivateDnsName(String privateDnsName)
The private DNS name.
privateDnsName
- The private DNS name.public String getPrivateDnsName()
The private DNS name.
public void setSourceDestCheck(Boolean sourceDestCheck)
Indicates whether to validate network traffic to or from this network interface.
sourceDestCheck
- Indicates whether to validate network traffic to or from this network interface.public Boolean getSourceDestCheck()
Indicates whether to validate network traffic to or from this network interface.
public Boolean isSourceDestCheck()
Indicates whether to validate network traffic to or from this network interface.
public List<GroupIdentifier> getGroups()
One or more security groups.
public void setGroups(Collection<GroupIdentifier> groups)
One or more security groups.
groups
- One or more security groups.public void setAttachment(InstanceNetworkInterfaceAttachment attachment)
The network interface attachment.
attachment
- The network interface attachment.public InstanceNetworkInterfaceAttachment getAttachment()
The network interface attachment.
public void setAssociation(InstanceNetworkInterfaceAssociation association)
The association information for an Elastic IPv4 associated with the network interface.
association
- The association information for an Elastic IPv4 associated with the network interface.public InstanceNetworkInterfaceAssociation getAssociation()
The association information for an Elastic IPv4 associated with the network interface.
public List<InstancePrivateIpAddress> getPrivateIpAddresses()
One or more private IPv4 addresses associated with the network interface.
public void setPrivateIpAddresses(Collection<InstancePrivateIpAddress> privateIpAddresses)
One or more private IPv4 addresses associated with the network interface.
privateIpAddresses
- One or more private IPv4 addresses associated with the network interface.public List<InstanceIpv6Address> getIpv6Addresses()
One or more IPv6 addresses associated with the network interface.
public void setIpv6Addresses(Collection<InstanceIpv6Address> ipv6Addresses)
One or more IPv6 addresses associated with the network interface.
ipv6Addresses
- One or more IPv6 addresses associated with the network interface.public String toString()
toString
in class Object
Object.toString()
Copyright © 2010–2020. All rights reserved.