@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) |
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(NetworkInterfaceType interfaceType)
The type of 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(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 |
setTagSet(Collection<Tag> tagSet)
Any tags assigned to the network interface.
|
void |
setVpcId(String vpcId)
The ID of the VPC.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
NetworkInterface |
withAssociation(NetworkInterfaceAssociation association)
The association information for an Elastic IP address (IPv4) associated with the network interface.
|
NetworkInterface |
withAttachment(NetworkInterfaceAttachment attachment)
The network interface attachment.
|
NetworkInterface |
withAvailabilityZone(String availabilityZone)
The Availability Zone.
|
NetworkInterface |
withDescription(String description)
A description.
|
NetworkInterface |
withGroups(Collection<GroupIdentifier> groups)
Any security groups for the network interface.
|
NetworkInterface |
withGroups(GroupIdentifier... groups)
Any security groups for the network interface.
|
NetworkInterface |
withInterfaceType(NetworkInterfaceType interfaceType)
The type of interface.
|
NetworkInterface |
withInterfaceType(String interfaceType)
The type of interface.
|
NetworkInterface |
withIpv6Addresses(Collection<NetworkInterfaceIpv6Address> ipv6Addresses)
The IPv6 addresses associated with the network interface.
|
NetworkInterface |
withIpv6Addresses(NetworkInterfaceIpv6Address... ipv6Addresses)
The IPv6 addresses associated with the network interface.
|
NetworkInterface |
withMacAddress(String macAddress)
The MAC address.
|
NetworkInterface |
withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
NetworkInterface |
withOwnerId(String ownerId)
The AWS account ID of the owner of the network interface.
|
NetworkInterface |
withPrivateDnsName(String privateDnsName)
The private DNS name.
|
NetworkInterface |
withPrivateIpAddress(String privateIpAddress)
The IPv4 address of the network interface within the subnet.
|
NetworkInterface |
withPrivateIpAddresses(Collection<NetworkInterfacePrivateIpAddress> privateIpAddresses)
The private IPv4 addresses associated with the network interface.
|
NetworkInterface |
withPrivateIpAddresses(NetworkInterfacePrivateIpAddress... privateIpAddresses)
The private IPv4 addresses associated with the network interface.
|
NetworkInterface |
withRequesterId(String requesterId)
The ID of the entity that launched the instance on your behalf (for example, AWS Management Console or Auto
Scaling).
|
NetworkInterface |
withRequesterManaged(Boolean requesterManaged)
Indicates whether the network interface is being managed by AWS.
|
NetworkInterface |
withSourceDestCheck(Boolean sourceDestCheck)
Indicates whether traffic to or from the instance is validated.
|
NetworkInterface |
withStatus(NetworkInterfaceStatus status)
The status of the network interface.
|
NetworkInterface |
withStatus(String status)
The status of the network interface.
|
NetworkInterface |
withSubnetId(String subnetId)
The ID of the subnet.
|
NetworkInterface |
withTagSet(Collection<Tag> tagSet)
Any tags assigned to the network interface.
|
NetworkInterface |
withTagSet(Tag... tagSet)
Any tags assigned to the network interface.
|
NetworkInterface |
withVpcId(String vpcId)
The ID of the VPC.
|
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 NetworkInterface withAssociation(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 void setAttachment(NetworkInterfaceAttachment attachment)
The network interface attachment.
attachment
- The network interface attachment.public NetworkInterfaceAttachment getAttachment()
The network interface attachment.
public NetworkInterface withAttachment(NetworkInterfaceAttachment attachment)
The network interface attachment.
attachment
- The network interface attachment.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 void setDescription(String description)
A description.
description
- A description.public String getDescription()
A description.
public NetworkInterface withDescription(String description)
A description.
description
- A description.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 NetworkInterface withGroups(GroupIdentifier... groups)
Any security groups for the network interface.
NOTE: This method appends the values to the existing list (if any). Use
setGroups(java.util.Collection)
or withGroups(java.util.Collection)
if you want to override the
existing values.
groups
- Any security groups for the network interface.public NetworkInterface withGroups(Collection<GroupIdentifier> groups)
Any security groups for the network interface.
groups
- Any security groups for the network interface.public void setInterfaceType(String interfaceType)
The type of interface.
interfaceType
- The type of interface.NetworkInterfaceType
public String getInterfaceType()
The type of interface.
NetworkInterfaceType
public NetworkInterface withInterfaceType(String interfaceType)
The type of interface.
interfaceType
- The type of interface.NetworkInterfaceType
public void setInterfaceType(NetworkInterfaceType interfaceType)
The type of interface.
interfaceType
- The type of interface.NetworkInterfaceType
public NetworkInterface withInterfaceType(NetworkInterfaceType interfaceType)
The type of interface.
interfaceType
- The type of interface.NetworkInterfaceType
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 NetworkInterface withIpv6Addresses(NetworkInterfaceIpv6Address... ipv6Addresses)
The IPv6 addresses associated with the network interface.
NOTE: This method appends the values to the existing list (if any). Use
setIpv6Addresses(java.util.Collection)
or withIpv6Addresses(java.util.Collection)
if you want
to override the existing values.
ipv6Addresses
- The IPv6 addresses associated with the network interface.public NetworkInterface withIpv6Addresses(Collection<NetworkInterfaceIpv6Address> ipv6Addresses)
The IPv6 addresses associated with the network interface.
ipv6Addresses
- The IPv6 addresses associated with the network interface.public void setMacAddress(String macAddress)
The MAC address.
macAddress
- The MAC address.public String getMacAddress()
The MAC address.
public NetworkInterface withMacAddress(String macAddress)
The MAC address.
macAddress
- The MAC address.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 NetworkInterface withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.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 NetworkInterface withOwnerId(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 void setPrivateDnsName(String privateDnsName)
The private DNS name.
privateDnsName
- The private DNS name.public String getPrivateDnsName()
The private DNS name.
public NetworkInterface withPrivateDnsName(String privateDnsName)
The private DNS name.
privateDnsName
- The private DNS name.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 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 NetworkInterface withPrivateIpAddresses(NetworkInterfacePrivateIpAddress... privateIpAddresses)
The private IPv4 addresses associated with the network interface.
NOTE: This method appends the values to the existing list (if any). Use
setPrivateIpAddresses(java.util.Collection)
or withPrivateIpAddresses(java.util.Collection)
if
you want to override the existing values.
privateIpAddresses
- The private IPv4 addresses associated with the network interface.public NetworkInterface withPrivateIpAddresses(Collection<NetworkInterfacePrivateIpAddress> privateIpAddresses)
The private IPv4 addresses associated with the network interface.
privateIpAddresses
- The private IPv4 addresses associated with 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 NetworkInterface withRequesterId(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 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 NetworkInterface withRequesterManaged(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 isRequesterManaged()
Indicates whether the network interface is being managed by AWS.
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 NetworkInterface withSourceDestCheck(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 isSourceDestCheck()
Indicates whether traffic to or from the instance is validated.
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 NetworkInterface withStatus(String status)
The status of the network interface.
status
- 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 NetworkInterface withStatus(NetworkInterfaceStatus status)
The status of the network interface.
status
- The status of the network interface.NetworkInterfaceStatus
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 NetworkInterface withSubnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.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 NetworkInterface withTagSet(Tag... tagSet)
Any tags assigned to the network interface.
NOTE: This method appends the values to the existing list (if any). Use
setTagSet(java.util.Collection)
or withTagSet(java.util.Collection)
if you want to override the
existing values.
tagSet
- Any tags assigned to the network interface.public NetworkInterface withTagSet(Collection<Tag> tagSet)
Any tags assigned to the network interface.
tagSet
- Any tags assigned to the network interface.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 NetworkInterface withVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public String toString()
toString
in class Object
Object.toString()
public NetworkInterface clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.