Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class NetworkInterface

java.lang.Object
  extended by com.amazonaws.services.ec2.model.NetworkInterface

public class NetworkInterface
extends java.lang.Object

Network Interface


Constructor Summary
NetworkInterface()
           
 
Method Summary
 boolean equals(java.lang.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.
 java.lang.String getAvailabilityZone()
          Returns the value of the AvailabilityZone property for this object.
 java.lang.String getDescription()
          Returns the value of the Description property for this object.
 java.util.List<GroupIdentifier> getGroups()
          Returns the value of the Groups property for this object.
 java.lang.String getMacAddress()
          Returns the value of the MacAddress property for this object.
 java.lang.String getNetworkInterfaceId()
          Returns the value of the NetworkInterfaceId property for this object.
 java.lang.String getOwnerId()
          Returns the value of the OwnerId property for this object.
 java.lang.String getPrivateDnsName()
          Returns the value of the PrivateDnsName property for this object.
 java.lang.String getPrivateIpAddress()
          Returns the value of the PrivateIpAddress property for this object.
 java.util.List<NetworkInterfacePrivateIpAddress> getPrivateIpAddresses()
          Returns the value of the PrivateIpAddresses property for this object.
 java.lang.String getRequesterId()
          Returns the value of the RequesterId property for this object.
 java.lang.Boolean getRequesterManaged()
          Returns the value of the RequesterManaged property for this object.
 java.lang.Boolean getSourceDestCheck()
          Returns the value of the SourceDestCheck property for this object.
 java.lang.String getStatus()
          Returns the value of the Status property for this object.
 java.lang.String getSubnetId()
          Returns the value of the SubnetId property for this object.
 java.util.List<Tag> getTagSet()
          Returns the value of the TagSet property for this object.
 java.lang.String getVpcId()
          Returns the value of the VpcId property for this object.
 int hashCode()
           
 java.lang.Boolean isRequesterManaged()
          Returns the value of the RequesterManaged property for this object.
 java.lang.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(java.lang.String availabilityZone)
          Sets the value of the AvailabilityZone property for this object.
 void setDescription(java.lang.String description)
          Sets the value of the Description property for this object.
 void setGroups(java.util.Collection<GroupIdentifier> groups)
          Sets the value of the Groups property for this object.
 void setMacAddress(java.lang.String macAddress)
          Sets the value of the MacAddress property for this object.
 void setNetworkInterfaceId(java.lang.String networkInterfaceId)
          Sets the value of the NetworkInterfaceId property for this object.
 void setOwnerId(java.lang.String ownerId)
          Sets the value of the OwnerId property for this object.
 void setPrivateDnsName(java.lang.String privateDnsName)
          Sets the value of the PrivateDnsName property for this object.
 void setPrivateIpAddress(java.lang.String privateIpAddress)
          Sets the value of the PrivateIpAddress property for this object.
 void setPrivateIpAddresses(java.util.Collection<NetworkInterfacePrivateIpAddress> privateIpAddresses)
          Sets the value of the PrivateIpAddresses property for this object.
 void setRequesterId(java.lang.String requesterId)
          Sets the value of the RequesterId property for this object.
 void setRequesterManaged(java.lang.Boolean requesterManaged)
          Sets the value of the RequesterManaged property for this object.
 void setSourceDestCheck(java.lang.Boolean sourceDestCheck)
          Sets the value of the SourceDestCheck property for this object.
 void setStatus(java.lang.String status)
          Sets the value of the Status property for this object.
 void setSubnetId(java.lang.String subnetId)
          Sets the value of the SubnetId property for this object.
 void setTagSet(java.util.Collection<Tag> tagSet)
          Sets the value of the TagSet property for this object.
 void setVpcId(java.lang.String vpcId)
          Sets the value of the VpcId property for this object.
 java.lang.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(java.lang.String availabilityZone)
          Sets the value of the AvailabilityZone property for this object.
 NetworkInterface withDescription(java.lang.String description)
          Sets the value of the Description property for this object.
 NetworkInterface withGroups(java.util.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(java.lang.String macAddress)
          Sets the value of the MacAddress property for this object.
 NetworkInterface withNetworkInterfaceId(java.lang.String networkInterfaceId)
          Sets the value of the NetworkInterfaceId property for this object.
 NetworkInterface withOwnerId(java.lang.String ownerId)
          Sets the value of the OwnerId property for this object.
 NetworkInterface withPrivateDnsName(java.lang.String privateDnsName)
          Sets the value of the PrivateDnsName property for this object.
 NetworkInterface withPrivateIpAddress(java.lang.String privateIpAddress)
          Sets the value of the PrivateIpAddress property for this object.
 NetworkInterface withPrivateIpAddresses(java.util.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(java.lang.String requesterId)
          Sets the value of the RequesterId property for this object.
 NetworkInterface withRequesterManaged(java.lang.Boolean requesterManaged)
          Sets the value of the RequesterManaged property for this object.
 NetworkInterface withSourceDestCheck(java.lang.Boolean sourceDestCheck)
          Sets the value of the SourceDestCheck property for this object.
 NetworkInterface withStatus(java.lang.String status)
          Sets the value of the Status property for this object.
 NetworkInterface withSubnetId(java.lang.String subnetId)
          Sets the value of the SubnetId property for this object.
 NetworkInterface withTagSet(java.util.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(java.lang.String vpcId)
          Sets the value of the VpcId property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetworkInterface

public NetworkInterface()
Method Detail

getNetworkInterfaceId

public java.lang.String getNetworkInterfaceId()
Returns the value of the NetworkInterfaceId property for this object.

Returns:
The value of the NetworkInterfaceId property for this object.

setNetworkInterfaceId

public void setNetworkInterfaceId(java.lang.String networkInterfaceId)
Sets the value of the NetworkInterfaceId property for this object.

Parameters:
networkInterfaceId - The new value for the NetworkInterfaceId property for this object.

withNetworkInterfaceId

public NetworkInterface withNetworkInterfaceId(java.lang.String networkInterfaceId)
Sets the value of the NetworkInterfaceId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
networkInterfaceId - The new value for the NetworkInterfaceId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getSubnetId

public java.lang.String getSubnetId()
Returns the value of the SubnetId property for this object.

Returns:
The value of the SubnetId property for this object.

setSubnetId

public void setSubnetId(java.lang.String subnetId)
Sets the value of the SubnetId property for this object.

Parameters:
subnetId - The new value for the SubnetId property for this object.

withSubnetId

public NetworkInterface withSubnetId(java.lang.String subnetId)
Sets the value of the SubnetId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
subnetId - The new value for the SubnetId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getVpcId

public java.lang.String getVpcId()
Returns the value of the VpcId property for this object.

Returns:
The value of the VpcId property for this object.

setVpcId

public void setVpcId(java.lang.String vpcId)
Sets the value of the VpcId property for this object.

Parameters:
vpcId - The new value for the VpcId property for this object.

withVpcId

public NetworkInterface withVpcId(java.lang.String vpcId)
Sets the value of the VpcId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vpcId - The new value for the VpcId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getAvailabilityZone

public java.lang.String getAvailabilityZone()
Returns the value of the AvailabilityZone property for this object.

Returns:
The value of the AvailabilityZone property for this object.

setAvailabilityZone

public void setAvailabilityZone(java.lang.String availabilityZone)
Sets the value of the AvailabilityZone property for this object.

Parameters:
availabilityZone - The new value for the AvailabilityZone property for this object.

withAvailabilityZone

public NetworkInterface withAvailabilityZone(java.lang.String availabilityZone)
Sets the value of the AvailabilityZone property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
availabilityZone - The new value for the AvailabilityZone property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public java.lang.String getDescription()
Returns the value of the Description property for this object.

Returns:
The value of the Description property for this object.

setDescription

public void setDescription(java.lang.String description)
Sets the value of the Description property for this object.

Parameters:
description - The new value for the Description property for this object.

withDescription

public NetworkInterface withDescription(java.lang.String description)
Sets the value of the Description property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
description - The new value for the Description property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getOwnerId

public java.lang.String getOwnerId()
Returns the value of the OwnerId property for this object.

Returns:
The value of the OwnerId property for this object.

setOwnerId

public void setOwnerId(java.lang.String ownerId)
Sets the value of the OwnerId property for this object.

Parameters:
ownerId - The new value for the OwnerId property for this object.

withOwnerId

public NetworkInterface withOwnerId(java.lang.String ownerId)
Sets the value of the OwnerId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
ownerId - The new value for the OwnerId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getRequesterId

public java.lang.String getRequesterId()
Returns the value of the RequesterId property for this object.

Returns:
The value of the RequesterId property for this object.

setRequesterId

public void setRequesterId(java.lang.String requesterId)
Sets the value of the RequesterId property for this object.

Parameters:
requesterId - The new value for the RequesterId property for this object.

withRequesterId

public NetworkInterface withRequesterId(java.lang.String requesterId)
Sets the value of the RequesterId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
requesterId - The new value for the RequesterId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

isRequesterManaged

public java.lang.Boolean isRequesterManaged()
Returns the value of the RequesterManaged property for this object.

Returns:
The value of the RequesterManaged property for this object.

setRequesterManaged

public void setRequesterManaged(java.lang.Boolean requesterManaged)
Sets the value of the RequesterManaged property for this object.

Parameters:
requesterManaged - The new value for the RequesterManaged property for this object.

withRequesterManaged

public NetworkInterface withRequesterManaged(java.lang.Boolean requesterManaged)
Sets the value of the RequesterManaged property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
requesterManaged - The new value for the RequesterManaged property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getRequesterManaged

public java.lang.Boolean getRequesterManaged()
Returns the value of the RequesterManaged property for this object.

Returns:
The value of the RequesterManaged property for this object.

getStatus

public java.lang.String getStatus()
Returns the value of the Status property for this object.

Returns:
The value of the Status property for this object.

setStatus

public void setStatus(java.lang.String status)
Sets the value of the Status property for this object.

Parameters:
status - The new value for the Status property for this object.

withStatus

public NetworkInterface withStatus(java.lang.String status)
Sets the value of the Status property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
status - The new value for the Status property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getMacAddress

public java.lang.String getMacAddress()
Returns the value of the MacAddress property for this object.

Returns:
The value of the MacAddress property for this object.

setMacAddress

public void setMacAddress(java.lang.String macAddress)
Sets the value of the MacAddress property for this object.

Parameters:
macAddress - The new value for the MacAddress property for this object.

withMacAddress

public NetworkInterface withMacAddress(java.lang.String macAddress)
Sets the value of the MacAddress property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
macAddress - The new value for the MacAddress property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getPrivateIpAddress

public java.lang.String getPrivateIpAddress()
Returns the value of the PrivateIpAddress property for this object.

Returns:
The value of the PrivateIpAddress property for this object.

setPrivateIpAddress

public void setPrivateIpAddress(java.lang.String privateIpAddress)
Sets the value of the PrivateIpAddress property for this object.

Parameters:
privateIpAddress - The new value for the PrivateIpAddress property for this object.

withPrivateIpAddress

public NetworkInterface withPrivateIpAddress(java.lang.String privateIpAddress)
Sets the value of the PrivateIpAddress property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
privateIpAddress - The new value for the PrivateIpAddress property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getPrivateDnsName

public java.lang.String getPrivateDnsName()
Returns the value of the PrivateDnsName property for this object.

Returns:
The value of the PrivateDnsName property for this object.

setPrivateDnsName

public void setPrivateDnsName(java.lang.String privateDnsName)
Sets the value of the PrivateDnsName property for this object.

Parameters:
privateDnsName - The new value for the PrivateDnsName property for this object.

withPrivateDnsName

public NetworkInterface withPrivateDnsName(java.lang.String privateDnsName)
Sets the value of the PrivateDnsName property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
privateDnsName - The new value for the PrivateDnsName property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

isSourceDestCheck

public java.lang.Boolean isSourceDestCheck()
Returns the value of the SourceDestCheck property for this object.

Returns:
The value of the SourceDestCheck property for this object.

setSourceDestCheck

public void setSourceDestCheck(java.lang.Boolean sourceDestCheck)
Sets the value of the SourceDestCheck property for this object.

Parameters:
sourceDestCheck - The new value for the SourceDestCheck property for this object.

withSourceDestCheck

public NetworkInterface withSourceDestCheck(java.lang.Boolean sourceDestCheck)
Sets the value of the SourceDestCheck property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
sourceDestCheck - The new value for the SourceDestCheck property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getSourceDestCheck

public java.lang.Boolean getSourceDestCheck()
Returns the value of the SourceDestCheck property for this object.

Returns:
The value of the SourceDestCheck property for this object.

getGroups

public java.util.List<GroupIdentifier> getGroups()
Returns the value of the Groups property for this object.

Returns:
The value of the Groups property for this object.

setGroups

public void setGroups(java.util.Collection<GroupIdentifier> groups)
Sets the value of the Groups property for this object.

Parameters:
groups - The new value for the Groups property for this object.

withGroups

public NetworkInterface withGroups(GroupIdentifier... groups)
Sets the value of the Groups property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
groups - The new value for the Groups property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withGroups

public NetworkInterface withGroups(java.util.Collection<GroupIdentifier> groups)
Sets the value of the Groups property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
groups - The new value for the Groups property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getAttachment

public NetworkInterfaceAttachment getAttachment()
Returns the value of the Attachment property for this object.

Returns:
The value of the Attachment property for this object.

setAttachment

public void setAttachment(NetworkInterfaceAttachment attachment)
Sets the value of the Attachment property for this object.

Parameters:
attachment - The new value for the Attachment property for this object.

withAttachment

public NetworkInterface withAttachment(NetworkInterfaceAttachment attachment)
Sets the value of the Attachment property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
attachment - The new value for the Attachment property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getAssociation

public NetworkInterfaceAssociation getAssociation()
Returns the value of the Association property for this object.

Returns:
The value of the Association property for this object.

setAssociation

public void setAssociation(NetworkInterfaceAssociation association)
Sets the value of the Association property for this object.

Parameters:
association - The new value for the Association property for this object.

withAssociation

public NetworkInterface withAssociation(NetworkInterfaceAssociation association)
Sets the value of the Association property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
association - The new value for the Association property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getTagSet

public java.util.List<Tag> getTagSet()
Returns the value of the TagSet property for this object.

Returns:
The value of the TagSet property for this object.

setTagSet

public void setTagSet(java.util.Collection<Tag> tagSet)
Sets the value of the TagSet property for this object.

Parameters:
tagSet - The new value for the TagSet property for this object.

withTagSet

public NetworkInterface withTagSet(Tag... tagSet)
Sets the value of the TagSet property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
tagSet - The new value for the TagSet property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withTagSet

public NetworkInterface withTagSet(java.util.Collection<Tag> tagSet)
Sets the value of the TagSet property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
tagSet - The new value for the TagSet property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getPrivateIpAddresses

public java.util.List<NetworkInterfacePrivateIpAddress> getPrivateIpAddresses()
Returns the value of the PrivateIpAddresses property for this object.

Returns:
The value of the PrivateIpAddresses property for this object.

setPrivateIpAddresses

public void setPrivateIpAddresses(java.util.Collection<NetworkInterfacePrivateIpAddress> privateIpAddresses)
Sets the value of the PrivateIpAddresses property for this object.

Parameters:
privateIpAddresses - The new value for the PrivateIpAddresses property for this object.

withPrivateIpAddresses

public NetworkInterface withPrivateIpAddresses(NetworkInterfacePrivateIpAddress... privateIpAddresses)
Sets the value of the PrivateIpAddresses property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
privateIpAddresses - The new value for the PrivateIpAddresses property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withPrivateIpAddresses

public NetworkInterface withPrivateIpAddresses(java.util.Collection<NetworkInterfacePrivateIpAddress> privateIpAddresses)
Sets the value of the PrivateIpAddresses property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
privateIpAddresses - The new value for the PrivateIpAddresses property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.