@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceNetworkInterface extends Object implements Serializable, Cloneable
Describes a network interface.
Constructor and Description |
---|
InstanceNetworkInterface() |
Modifier and Type | Method and Description |
---|---|
InstanceNetworkInterface |
clone() |
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.
|
InstanceNetworkInterface |
withAssociation(InstanceNetworkInterfaceAssociation association)
The association information for an Elastic IPv4 associated with the network interface.
|
InstanceNetworkInterface |
withAttachment(InstanceNetworkInterfaceAttachment attachment)
The network interface attachment.
|
InstanceNetworkInterface |
withDescription(String description)
The description.
|
InstanceNetworkInterface |
withGroups(Collection<GroupIdentifier> groups)
One or more security groups.
|
InstanceNetworkInterface |
withGroups(GroupIdentifier... groups)
One or more security groups.
|
InstanceNetworkInterface |
withIpv6Addresses(Collection<InstanceIpv6Address> ipv6Addresses)
One or more IPv6 addresses associated with the network interface.
|
InstanceNetworkInterface |
withIpv6Addresses(InstanceIpv6Address... ipv6Addresses)
One or more IPv6 addresses associated with the network interface.
|
InstanceNetworkInterface |
withMacAddress(String macAddress)
The MAC address.
|
InstanceNetworkInterface |
withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
InstanceNetworkInterface |
withOwnerId(String ownerId)
The ID of the AWS account that created the network interface.
|
InstanceNetworkInterface |
withPrivateDnsName(String privateDnsName)
The private DNS name.
|
InstanceNetworkInterface |
withPrivateIpAddress(String privateIpAddress)
The IPv4 address of the network interface within the subnet.
|
InstanceNetworkInterface |
withPrivateIpAddresses(Collection<InstancePrivateIpAddress> privateIpAddresses)
One or more private IPv4 addresses associated with the network interface.
|
InstanceNetworkInterface |
withPrivateIpAddresses(InstancePrivateIpAddress... privateIpAddresses)
One or more private IPv4 addresses associated with the network interface.
|
InstanceNetworkInterface |
withSourceDestCheck(Boolean sourceDestCheck)
Indicates whether to validate network traffic to or from this network interface.
|
InstanceNetworkInterface |
withStatus(NetworkInterfaceStatus status)
The status of the network interface.
|
InstanceNetworkInterface |
withStatus(String status)
The status of the network interface.
|
InstanceNetworkInterface |
withSubnetId(String subnetId)
The ID of the subnet.
|
InstanceNetworkInterface |
withVpcId(String vpcId)
The ID of the VPC.
|
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 InstanceNetworkInterface withAssociation(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 void setAttachment(InstanceNetworkInterfaceAttachment attachment)
The network interface attachment.
attachment
- The network interface attachment.public InstanceNetworkInterfaceAttachment getAttachment()
The network interface attachment.
public InstanceNetworkInterface withAttachment(InstanceNetworkInterfaceAttachment attachment)
The network interface attachment.
attachment
- The network interface attachment.public void setDescription(String description)
The description.
description
- The description.public String getDescription()
The description.
public InstanceNetworkInterface withDescription(String description)
The description.
description
- The description.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 InstanceNetworkInterface withGroups(GroupIdentifier... groups)
One or more security groups.
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
- One or more security groups.public InstanceNetworkInterface withGroups(Collection<GroupIdentifier> groups)
One or more security groups.
groups
- One or more security groups.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 InstanceNetworkInterface withIpv6Addresses(InstanceIpv6Address... ipv6Addresses)
One or more 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
- One or more IPv6 addresses associated with the network interface.public InstanceNetworkInterface withIpv6Addresses(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 void setMacAddress(String macAddress)
The MAC address.
macAddress
- The MAC address.public String getMacAddress()
The MAC address.
public InstanceNetworkInterface 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 InstanceNetworkInterface withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.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 InstanceNetworkInterface withOwnerId(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 void setPrivateDnsName(String privateDnsName)
The private DNS name.
privateDnsName
- The private DNS name.public String getPrivateDnsName()
The private DNS name.
public InstanceNetworkInterface 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 InstanceNetworkInterface 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<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 InstanceNetworkInterface withPrivateIpAddresses(InstancePrivateIpAddress... privateIpAddresses)
One or more 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
- One or more private IPv4 addresses associated with the network interface.public InstanceNetworkInterface withPrivateIpAddresses(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 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 InstanceNetworkInterface withSourceDestCheck(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 isSourceDestCheck()
Indicates whether to validate network traffic to or from this 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 InstanceNetworkInterface 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 InstanceNetworkInterface 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 InstanceNetworkInterface withSubnetId(String subnetId)
The ID of the subnet.
subnetId
- 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 InstanceNetworkInterface withVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public String toString()
toString
in class Object
Object.toString()
public InstanceNetworkInterface clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.