public class NetworkInterface extends Object implements Serializable
Constructor and Description |
---|
NetworkInterface() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
NetworkInterfaceAssociation |
getAssociation()
The association information for an Elastic IP address (IPv4) associated with the network interface.
|
NetworkInterfaceAttachment |
getAttachment()
The network interface attachment.
|
String |
getAvailabilityZone()
The Availability Zone.
|
String |
getDescription()
A description.
|
List<GroupIdentifier> |
getGroups()
Any security groups for the network interface.
|
String |
getInterfaceType()
The type of interface.
|
List<NetworkInterfaceIpv6Address> |
getIpv6Addresses()
The IPv6 addresses associated with the network interface.
|
String |
getMacAddress()
The MAC address.
|
String |
getNetworkInterfaceId()
The ID of the network interface.
|
String |
getOwnerId()
The AWS account ID of the owner of the network interface.
|
String |
getPrivateDnsName()
The private DNS name.
|
String |
getPrivateIpAddress()
The IPv4 address of the network interface within the subnet.
|
List<NetworkInterfacePrivateIpAddress> |
getPrivateIpAddresses()
The private IPv4 addresses associated with the network interface.
|
String |
getRequesterId()
The ID of the entity that launched the instance on your behalf (for example, AWS Management Console or Auto
Scaling).
|
Boolean |
getRequesterManaged()
Indicates whether the network interface is being managed by AWS.
|
Boolean |
getSourceDestCheck()
Indicates whether traffic to or from the instance is validated.
|
String |
getStatus()
The status of the network interface.
|
String |
getSubnetId()
The ID of the subnet.
|
List<Tag> |
getTagSet()
Any tags assigned to the network interface.
|
String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
Boolean |
isRequesterManaged()
Indicates whether the network interface is being managed by AWS.
|
Boolean |
isSourceDestCheck()
Indicates whether traffic to or from the instance is validated.
|
void |
setAssociation(NetworkInterfaceAssociation association)
The association information for an Elastic IP address (IPv4) associated with the network interface.
|
void |
setAttachment(NetworkInterfaceAttachment attachment)
The network interface attachment.
|
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone.
|
void |
setDescription(String description)
A description.
|
void |
setGroups(Collection<GroupIdentifier> groups)
Any security groups for the network interface.
|
void |
setInterfaceType(String interfaceType)
The type of interface.
|
void |
setIpv6Addresses(Collection<NetworkInterfaceIpv6Address> ipv6Addresses)
The 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 AWS account ID of the owner of 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<NetworkInterfacePrivateIpAddress> privateIpAddresses)
The private IPv4 addresses associated with the network interface.
|
void |
setRequesterId(String requesterId)
The ID of the entity that launched the instance on your behalf (for example, AWS Management Console or Auto
Scaling).
|
void |
setRequesterManaged(Boolean requesterManaged)
Indicates whether the network interface is being managed by AWS.
|
void |
setSourceDestCheck(Boolean sourceDestCheck)
Indicates whether traffic to or from the instance is validated.
|
void |
setStatus(String status)
The status of the network interface.
|
void |
setSubnetId(String subnetId)
The ID of the subnet.
|
void |
setTagSet(Collection<Tag> tagSet)
Any tags assigned to the network interface.
|
void |
setVpcId(String vpcId)
The ID of the VPC.
|
String |
toString() |
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 setAvailabilityZone(String availabilityZone)
The Availability Zone.
availabilityZone
- The Availability Zone.public String getAvailabilityZone()
The Availability Zone.
public void setDescription(String description)
A description.
description
- A description.public String getDescription()
A description.
public void setOwnerId(String ownerId)
The AWS account ID of the owner of the network interface.
ownerId
- The AWS account ID of the owner of the network interface.public String getOwnerId()
The AWS account ID of the owner of the network interface.
public void setRequesterId(String requesterId)
The ID of the entity that launched the instance on your behalf (for example, AWS Management Console or Auto Scaling).
requesterId
- The ID of the entity that launched the instance on your behalf (for example, AWS Management Console or
Auto Scaling).public String getRequesterId()
The ID of the entity that launched the instance on your behalf (for example, AWS Management Console or Auto Scaling).
public void setRequesterManaged(Boolean requesterManaged)
Indicates whether the network interface is being managed by AWS.
requesterManaged
- Indicates whether the network interface is being managed by AWS.public Boolean getRequesterManaged()
Indicates whether the network interface is being managed by AWS.
public Boolean isRequesterManaged()
Indicates whether the network interface is being managed by AWS.
public void setStatus(String status)
The status of the network interface.
status
- The status of the network interface.public String getStatus()
The status of the network interface.
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 traffic to or from the instance is validated.
sourceDestCheck
- Indicates whether traffic to or from the instance is validated.public Boolean getSourceDestCheck()
Indicates whether traffic to or from the instance is validated.
public Boolean isSourceDestCheck()
Indicates whether traffic to or from the instance is validated.
public List<GroupIdentifier> getGroups()
Any security groups for the network interface.
public void setGroups(Collection<GroupIdentifier> groups)
Any security groups for the network interface.
groups
- Any security groups for the network interface.public void setAttachment(NetworkInterfaceAttachment attachment)
The network interface attachment.
attachment
- The network interface attachment.public NetworkInterfaceAttachment getAttachment()
The network interface attachment.
public void setAssociation(NetworkInterfaceAssociation association)
The association information for an Elastic IP address (IPv4) associated with the network interface.
association
- The association information for an Elastic IP address (IPv4) associated with the network interface.public NetworkInterfaceAssociation getAssociation()
The association information for an Elastic IP address (IPv4) associated with the network interface.
public List<Tag> getTagSet()
Any tags assigned to the network interface.
public void setTagSet(Collection<Tag> tagSet)
Any tags assigned to the network interface.
tagSet
- Any tags assigned to the network interface.public List<NetworkInterfacePrivateIpAddress> getPrivateIpAddresses()
The private IPv4 addresses associated with the network interface.
public void setPrivateIpAddresses(Collection<NetworkInterfacePrivateIpAddress> privateIpAddresses)
The private IPv4 addresses associated with the network interface.
privateIpAddresses
- The private IPv4 addresses associated with the network interface.public List<NetworkInterfaceIpv6Address> getIpv6Addresses()
The IPv6 addresses associated with the network interface.
public void setIpv6Addresses(Collection<NetworkInterfaceIpv6Address> ipv6Addresses)
The IPv6 addresses associated with the network interface.
ipv6Addresses
- The IPv6 addresses associated with the network interface.public void setInterfaceType(String interfaceType)
The type of interface.
interfaceType
- The type of interface.public String getInterfaceType()
The type of interface.
Copyright © 2010–2020. All rights reserved.