com.amazonaws.services.ec2.model
Class InstanceNetworkInterface

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

public class InstanceNetworkInterface
extends Object

Instance Network Interface


Constructor Summary
InstanceNetworkInterface()
           
 
Method Summary
 boolean equals(Object obj)
           
 InstanceNetworkInterfaceAssociation getAssociation()
          Returns the value of the Association property for this object.
 InstanceNetworkInterfaceAttachment getAttachment()
          Returns the value of the Attachment 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 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.
 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.
 String getVpcId()
          Returns the value of the VpcId property for this object.
 int hashCode()
           
 Boolean isSourceDestCheck()
          Returns the value of the SourceDestCheck property for this object.
 void setAssociation(InstanceNetworkInterfaceAssociation association)
          Sets the value of the Association property for this object.
 void setAttachment(InstanceNetworkInterfaceAttachment attachment)
          Sets the value of the Attachment 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 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 setSourceDestCheck(Boolean sourceDestCheck)
          Sets the value of the SourceDestCheck 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 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.
 InstanceNetworkInterface withAssociation(InstanceNetworkInterfaceAssociation association)
          Sets the value of the Association property for this object.
 InstanceNetworkInterface withAttachment(InstanceNetworkInterfaceAttachment attachment)
          Sets the value of the Attachment property for this object.
 InstanceNetworkInterface withDescription(String description)
          Sets the value of the Description property for this object.
 InstanceNetworkInterface withGroups(Collection<GroupIdentifier> groups)
          Sets the value of the Groups property for this object.
 InstanceNetworkInterface withGroups(GroupIdentifier... groups)
          Sets the value of the Groups property for this object.
 InstanceNetworkInterface withNetworkInterfaceId(String networkInterfaceId)
          Sets the value of the NetworkInterfaceId property for this object.
 InstanceNetworkInterface withOwnerId(String ownerId)
          Sets the value of the OwnerId property for this object.
 InstanceNetworkInterface withPrivateDnsName(String privateDnsName)
          Sets the value of the PrivateDnsName property for this object.
 InstanceNetworkInterface withPrivateIpAddress(String privateIpAddress)
          Sets the value of the PrivateIpAddress property for this object.
 InstanceNetworkInterface withSourceDestCheck(Boolean sourceDestCheck)
          Sets the value of the SourceDestCheck property for this object.
 InstanceNetworkInterface withStatus(String status)
          Sets the value of the Status property for this object.
 InstanceNetworkInterface withSubnetId(String subnetId)
          Sets the value of the SubnetId property for this object.
 InstanceNetworkInterface withVpcId(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

InstanceNetworkInterface

public InstanceNetworkInterface()
Method Detail

getNetworkInterfaceId

public 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(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 InstanceNetworkInterface withNetworkInterfaceId(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 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(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 InstanceNetworkInterface withSubnetId(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 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(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 InstanceNetworkInterface withVpcId(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.

getDescription

public 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(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 InstanceNetworkInterface withDescription(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 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(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 InstanceNetworkInterface withOwnerId(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.

getStatus

public 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(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 InstanceNetworkInterface withStatus(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.

getPrivateIpAddress

public 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(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 InstanceNetworkInterface withPrivateIpAddress(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 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(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 InstanceNetworkInterface withPrivateDnsName(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 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(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 InstanceNetworkInterface withSourceDestCheck(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 Boolean getSourceDestCheck()
Returns the value of the SourceDestCheck property for this object.

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

getGroups

public 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(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 InstanceNetworkInterface 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 InstanceNetworkInterface withGroups(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 InstanceNetworkInterfaceAttachment 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(InstanceNetworkInterfaceAttachment 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 InstanceNetworkInterface withAttachment(InstanceNetworkInterfaceAttachment 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 InstanceNetworkInterfaceAssociation 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(InstanceNetworkInterfaceAssociation 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 InstanceNetworkInterface withAssociation(InstanceNetworkInterfaceAssociation 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.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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