Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class NetworkInterfaceAssociation

java.lang.Object
  extended by com.amazonaws.services.ec2.model.NetworkInterfaceAssociation
All Implemented Interfaces:
Serializable

public class NetworkInterfaceAssociation
extends Object
implements Serializable

Network Interface Association

See Also:
Serialized Form

Constructor Summary
NetworkInterfaceAssociation()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAllocationId()
          Returns the value of the AllocationId property for this object.
 String getAssociationId()
          Returns the value of the AssociationId property for this object.
 String getIpOwnerId()
          Returns the value of the IpOwnerId property for this object.
 String getPublicIp()
          Returns the value of the PublicIp property for this object.
 int hashCode()
           
 void setAllocationId(String allocationId)
          Sets the value of the AllocationId property for this object.
 void setAssociationId(String associationId)
          Sets the value of the AssociationId property for this object.
 void setIpOwnerId(String ipOwnerId)
          Sets the value of the IpOwnerId property for this object.
 void setPublicIp(String publicIp)
          Sets the value of the PublicIp property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 NetworkInterfaceAssociation withAllocationId(String allocationId)
          Sets the value of the AllocationId property for this object.
 NetworkInterfaceAssociation withAssociationId(String associationId)
          Sets the value of the AssociationId property for this object.
 NetworkInterfaceAssociation withIpOwnerId(String ipOwnerId)
          Sets the value of the IpOwnerId property for this object.
 NetworkInterfaceAssociation withPublicIp(String publicIp)
          Sets the value of the PublicIp property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetworkInterfaceAssociation

public NetworkInterfaceAssociation()
Method Detail

getPublicIp

public String getPublicIp()
Returns the value of the PublicIp property for this object.

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

setPublicIp

public void setPublicIp(String publicIp)
Sets the value of the PublicIp property for this object.

Parameters:
publicIp - The new value for the PublicIp property for this object.

withPublicIp

public NetworkInterfaceAssociation withPublicIp(String publicIp)
Sets the value of the PublicIp property for this object.

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

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

getIpOwnerId

public String getIpOwnerId()
Returns the value of the IpOwnerId property for this object.

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

setIpOwnerId

public void setIpOwnerId(String ipOwnerId)
Sets the value of the IpOwnerId property for this object.

Parameters:
ipOwnerId - The new value for the IpOwnerId property for this object.

withIpOwnerId

public NetworkInterfaceAssociation withIpOwnerId(String ipOwnerId)
Sets the value of the IpOwnerId property for this object.

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

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

getAllocationId

public String getAllocationId()
Returns the value of the AllocationId property for this object.

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

setAllocationId

public void setAllocationId(String allocationId)
Sets the value of the AllocationId property for this object.

Parameters:
allocationId - The new value for the AllocationId property for this object.

withAllocationId

public NetworkInterfaceAssociation withAllocationId(String allocationId)
Sets the value of the AllocationId property for this object.

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

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

getAssociationId

public String getAssociationId()
Returns the value of the AssociationId property for this object.

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

setAssociationId

public void setAssociationId(String associationId)
Sets the value of the AssociationId property for this object.

Parameters:
associationId - The new value for the AssociationId property for this object.

withAssociationId

public NetworkInterfaceAssociation withAssociationId(String associationId)
Sets the value of the AssociationId property for this object.

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

Parameters:
associationId - The new value for the AssociationId 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.