public class NetworkInterface extends Object implements Serializable
Specifies the characteristics of a network interface.
Constructor and Description |
---|
NetworkInterface() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
NetworkInterfaceAssociation |
getAssociation()
Returns the value of the Association property for this object.
|
NetworkInterfaceAttachment |
getAttachment()
Returns the value of the Attachment property for this object.
|
String |
getAvailabilityZone()
Returns the value of the AvailabilityZone property for this object.
|
String |
getDescription()
Returns the value of the Description property for this object.
|
List<GroupIdentifier> |
getGroups()
Returns the value of the Groups property for this object.
|
String |
getMacAddress()
Returns the value of the MacAddress property for this object.
|
String |
getNetworkInterfaceId()
Returns the value of the NetworkInterfaceId property for this object.
|
String |
getOwnerId()
Returns the value of the OwnerId property for this object.
|
String |
getPrivateDnsName()
Returns the value of the PrivateDnsName property for this object.
|
String |
getPrivateIpAddress()
Returns the value of the PrivateIpAddress property for this object.
|
List<NetworkInterfacePrivateIpAddress> |
getPrivateIpAddresses()
Returns the value of the PrivateIpAddresses property for this object.
|
String |
getRequesterId()
Returns the value of the RequesterId property for this object.
|
Boolean |
getRequesterManaged()
Returns the value of the RequesterManaged property for this object.
|
Boolean |
getSourceDestCheck()
Returns the value of the SourceDestCheck property for this object.
|
String |
getStatus()
Returns the value of the Status property for this object.
|
String |
getSubnetId()
Returns the value of the SubnetId property for this object.
|
List<Tag> |
getTagSet()
Returns the value of the TagSet property for this object.
|
String |
getVpcId()
Returns the value of the VpcId property for this object.
|
int |
hashCode() |
Boolean |
isRequesterManaged()
Returns the value of the RequesterManaged property for this object.
|
Boolean |
isSourceDestCheck()
Returns the value of the SourceDestCheck property for this object.
|
void |
setAssociation(NetworkInterfaceAssociation association)
Sets the value of the Association property for this object.
|
void |
setAttachment(NetworkInterfaceAttachment attachment)
Sets the value of the Attachment property for this object.
|
void |
setAvailabilityZone(String availabilityZone)
Sets the value of the AvailabilityZone property for this object.
|
void |
setDescription(String description)
Sets the value of the Description property for this object.
|
void |
setGroups(Collection<GroupIdentifier> groups)
Sets the value of the Groups property for this object.
|
void |
setMacAddress(String macAddress)
Sets the value of the MacAddress property for this object.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
Sets the value of the NetworkInterfaceId property for this object.
|
void |
setOwnerId(String ownerId)
Sets the value of the OwnerId property for this object.
|
void |
setPrivateDnsName(String privateDnsName)
Sets the value of the PrivateDnsName property for this object.
|
void |
setPrivateIpAddress(String privateIpAddress)
Sets the value of the PrivateIpAddress property for this object.
|
void |
setPrivateIpAddresses(Collection<NetworkInterfacePrivateIpAddress> privateIpAddresses)
Sets the value of the PrivateIpAddresses property for this object.
|
void |
setRequesterId(String requesterId)
Sets the value of the RequesterId property for this object.
|
void |
setRequesterManaged(Boolean requesterManaged)
Sets the value of the RequesterManaged property for this object.
|
void |
setSourceDestCheck(Boolean sourceDestCheck)
Sets the value of the SourceDestCheck property for this object.
|
void |
setStatus(NetworkInterfaceStatus status)
Sets the value of the Status property for this object.
|
void |
setStatus(String status)
Sets the value of the Status property for this object.
|
void |
setSubnetId(String subnetId)
Sets the value of the SubnetId property for this object.
|
void |
setTagSet(Collection<Tag> tagSet)
Sets the value of the TagSet property for this object.
|
void |
setVpcId(String vpcId)
Sets the value of the VpcId property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NetworkInterface |
withAssociation(NetworkInterfaceAssociation association)
Sets the value of the Association property for this object.
|
NetworkInterface |
withAttachment(NetworkInterfaceAttachment attachment)
Sets the value of the Attachment property for this object.
|
NetworkInterface |
withAvailabilityZone(String availabilityZone)
Sets the value of the AvailabilityZone property for this object.
|
NetworkInterface |
withDescription(String description)
Sets the value of the Description property for this object.
|
NetworkInterface |
withGroups(Collection<GroupIdentifier> groups)
Sets the value of the Groups property for this object.
|
NetworkInterface |
withGroups(GroupIdentifier... groups)
Sets the value of the Groups property for this object.
|
NetworkInterface |
withMacAddress(String macAddress)
Sets the value of the MacAddress property for this object.
|
NetworkInterface |
withNetworkInterfaceId(String networkInterfaceId)
Sets the value of the NetworkInterfaceId property for this object.
|
NetworkInterface |
withOwnerId(String ownerId)
Sets the value of the OwnerId property for this object.
|
NetworkInterface |
withPrivateDnsName(String privateDnsName)
Sets the value of the PrivateDnsName property for this object.
|
NetworkInterface |
withPrivateIpAddress(String privateIpAddress)
Sets the value of the PrivateIpAddress property for this object.
|
NetworkInterface |
withPrivateIpAddresses(Collection<NetworkInterfacePrivateIpAddress> privateIpAddresses)
Sets the value of the PrivateIpAddresses property for this object.
|
NetworkInterface |
withPrivateIpAddresses(NetworkInterfacePrivateIpAddress... privateIpAddresses)
Sets the value of the PrivateIpAddresses property for this object.
|
NetworkInterface |
withRequesterId(String requesterId)
Sets the value of the RequesterId property for this object.
|
NetworkInterface |
withRequesterManaged(Boolean requesterManaged)
Sets the value of the RequesterManaged property for this object.
|
NetworkInterface |
withSourceDestCheck(Boolean sourceDestCheck)
Sets the value of the SourceDestCheck property for this object.
|
NetworkInterface |
withStatus(NetworkInterfaceStatus status)
Sets the value of the Status property for this object.
|
NetworkInterface |
withStatus(String status)
Sets the value of the Status property for this object.
|
NetworkInterface |
withSubnetId(String subnetId)
Sets the value of the SubnetId property for this object.
|
NetworkInterface |
withTagSet(Collection<Tag> tagSet)
Sets the value of the TagSet property for this object.
|
NetworkInterface |
withTagSet(Tag... tagSet)
Sets the value of the TagSet property for this object.
|
NetworkInterface |
withVpcId(String vpcId)
Sets the value of the VpcId property for this object.
|
public String getNetworkInterfaceId()
public void setNetworkInterfaceId(String networkInterfaceId)
networkInterfaceId
- The new value for the NetworkInterfaceId property for this object.public NetworkInterface withNetworkInterfaceId(String networkInterfaceId)
Returns a reference to this object so that method calls can be chained together.
networkInterfaceId
- The new value for the NetworkInterfaceId property for this object.public String getSubnetId()
public void setSubnetId(String subnetId)
subnetId
- The new value for the SubnetId property for this object.public NetworkInterface withSubnetId(String subnetId)
Returns a reference to this object so that method calls can be chained together.
subnetId
- The new value for the SubnetId property for this object.public String getVpcId()
public void setVpcId(String vpcId)
vpcId
- The new value for the VpcId property for this object.public NetworkInterface withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- The new value for the VpcId property for this object.public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone
- The new value for the AvailabilityZone property for this object.public NetworkInterface withAvailabilityZone(String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- The new value for the AvailabilityZone property for this object.public String getDescription()
public void setDescription(String description)
description
- The new value for the Description property for this object.public NetworkInterface withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- The new value for the Description property for this object.public String getOwnerId()
public void setOwnerId(String ownerId)
ownerId
- The new value for the OwnerId property for this object.public NetworkInterface withOwnerId(String ownerId)
Returns a reference to this object so that method calls can be chained together.
ownerId
- The new value for the OwnerId property for this object.public String getRequesterId()
public void setRequesterId(String requesterId)
requesterId
- The new value for the RequesterId property for this object.public NetworkInterface withRequesterId(String requesterId)
Returns a reference to this object so that method calls can be chained together.
requesterId
- The new value for the RequesterId property for this object.public Boolean isRequesterManaged()
public void setRequesterManaged(Boolean requesterManaged)
requesterManaged
- The new value for the RequesterManaged property for this object.public NetworkInterface withRequesterManaged(Boolean requesterManaged)
Returns a reference to this object so that method calls can be chained together.
requesterManaged
- The new value for the RequesterManaged property for this object.public Boolean getRequesterManaged()
public String getStatus()
Constraints:
Allowed Values: available, attaching, in-use, detaching
NetworkInterfaceStatus
public void setStatus(String status)
Constraints:
Allowed Values: available, attaching, in-use, detaching
status
- The new value for the Status property for this object.NetworkInterfaceStatus
public NetworkInterface withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: available, attaching, in-use, detaching
status
- The new value for the Status property for this object.NetworkInterfaceStatus
public void setStatus(NetworkInterfaceStatus status)
Constraints:
Allowed Values: available, attaching, in-use, detaching
status
- The new value for the Status property for this object.NetworkInterfaceStatus
public NetworkInterface withStatus(NetworkInterfaceStatus status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: available, attaching, in-use, detaching
status
- The new value for the Status property for this object.NetworkInterfaceStatus
public String getMacAddress()
public void setMacAddress(String macAddress)
macAddress
- The new value for the MacAddress property for this object.public NetworkInterface withMacAddress(String macAddress)
Returns a reference to this object so that method calls can be chained together.
macAddress
- The new value for the MacAddress property for this object.public String getPrivateIpAddress()
public void setPrivateIpAddress(String privateIpAddress)
privateIpAddress
- The new value for the PrivateIpAddress property for this object.public NetworkInterface withPrivateIpAddress(String privateIpAddress)
Returns a reference to this object so that method calls can be chained together.
privateIpAddress
- The new value for the PrivateIpAddress property for this object.public String getPrivateDnsName()
public void setPrivateDnsName(String privateDnsName)
privateDnsName
- The new value for the PrivateDnsName property for this object.public NetworkInterface withPrivateDnsName(String privateDnsName)
Returns a reference to this object so that method calls can be chained together.
privateDnsName
- The new value for the PrivateDnsName property for this object.public Boolean isSourceDestCheck()
public void setSourceDestCheck(Boolean sourceDestCheck)
sourceDestCheck
- The new value for the SourceDestCheck property for this object.public NetworkInterface withSourceDestCheck(Boolean sourceDestCheck)
Returns a reference to this object so that method calls can be chained together.
sourceDestCheck
- The new value for the SourceDestCheck property for this object.public Boolean getSourceDestCheck()
public List<GroupIdentifier> getGroups()
public void setGroups(Collection<GroupIdentifier> groups)
groups
- The new value for the Groups property for this object.public NetworkInterface withGroups(GroupIdentifier... groups)
Returns a reference to this object so that method calls can be chained together.
groups
- The new value for the Groups property for this object.public NetworkInterface withGroups(Collection<GroupIdentifier> groups)
Returns a reference to this object so that method calls can be chained together.
groups
- The new value for the Groups property for this object.public NetworkInterfaceAttachment getAttachment()
public void setAttachment(NetworkInterfaceAttachment attachment)
attachment
- The new value for the Attachment property for this object.public NetworkInterface withAttachment(NetworkInterfaceAttachment attachment)
Returns a reference to this object so that method calls can be chained together.
attachment
- The new value for the Attachment property for this object.public NetworkInterfaceAssociation getAssociation()
public void setAssociation(NetworkInterfaceAssociation association)
association
- The new value for the Association property for this object.public NetworkInterface withAssociation(NetworkInterfaceAssociation association)
Returns a reference to this object so that method calls can be chained together.
association
- The new value for the Association property for this object.public List<Tag> getTagSet()
public void setTagSet(Collection<Tag> tagSet)
tagSet
- The new value for the TagSet property for this object.public NetworkInterface withTagSet(Tag... tagSet)
Returns a reference to this object so that method calls can be chained together.
tagSet
- The new value for the TagSet property for this object.public NetworkInterface withTagSet(Collection<Tag> tagSet)
Returns a reference to this object so that method calls can be chained together.
tagSet
- The new value for the TagSet property for this object.public List<NetworkInterfacePrivateIpAddress> getPrivateIpAddresses()
public void setPrivateIpAddresses(Collection<NetworkInterfacePrivateIpAddress> privateIpAddresses)
privateIpAddresses
- The new value for the PrivateIpAddresses property for this object.public NetworkInterface withPrivateIpAddresses(NetworkInterfacePrivateIpAddress... privateIpAddresses)
Returns a reference to this object so that method calls can be chained together.
privateIpAddresses
- The new value for the PrivateIpAddresses property for this object.public NetworkInterface withPrivateIpAddresses(Collection<NetworkInterfacePrivateIpAddress> privateIpAddresses)
Returns a reference to this object so that method calls can be chained together.
privateIpAddresses
- The new value for the PrivateIpAddresses property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.