com.amazonaws.services.ec2.model
Class Address

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

public class Address
extends Object


Constructor Summary
Address()
           
 
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 getDomain()
          Returns the value of the Domain property for this object.
 String getInstanceId()
           
 String getNetworkInterfaceId()
          Returns the value of the NetworkInterfaceId property for this object.
 String getNetworkInterfaceOwnerId()
          Returns the value of the NetworkInterfaceOwnerId property for this object.
 String getPrivateIpAddress()
          Returns the value of the PrivateIpAddress property for this object.
 String getPublicIp()
           
 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 setDomain(DomainType domain)
          Sets the value of the Domain property for this object.
 void setDomain(String domain)
          Sets the value of the Domain property for this object.
 void setInstanceId(String instanceId)
           
 void setNetworkInterfaceId(String networkInterfaceId)
          Sets the value of the NetworkInterfaceId property for this object.
 void setNetworkInterfaceOwnerId(String networkInterfaceOwnerId)
          Sets the value of the NetworkInterfaceOwnerId property for this object.
 void setPrivateIpAddress(String privateIpAddress)
          Sets the value of the PrivateIpAddress property for this object.
 void setPublicIp(String publicIp)
           
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Address withAllocationId(String allocationId)
          Sets the value of the AllocationId property for this object.
 Address withAssociationId(String associationId)
          Sets the value of the AssociationId property for this object.
 Address withDomain(DomainType domain)
          Sets the value of the Domain property for this object.
 Address withDomain(String domain)
          Sets the value of the Domain property for this object.
 Address withInstanceId(String instanceId)
           Returns a reference to this object so that method calls can be chained together.
 Address withNetworkInterfaceId(String networkInterfaceId)
          Sets the value of the NetworkInterfaceId property for this object.
 Address withNetworkInterfaceOwnerId(String networkInterfaceOwnerId)
          Sets the value of the NetworkInterfaceOwnerId property for this object.
 Address withPrivateIpAddress(String privateIpAddress)
          Sets the value of the PrivateIpAddress property for this object.
 Address withPublicIp(String publicIp)
           Returns a reference to this object so that method calls can be chained together.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Address

public Address()
Method Detail

getInstanceId

public String getInstanceId()
Returns:

setInstanceId

public void setInstanceId(String instanceId)
Parameters:
instanceId -

withInstanceId

public Address withInstanceId(String instanceId)

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

Parameters:
instanceId -
Returns:
A reference to this updated object so that method calls can be chained together.

getPublicIp

public String getPublicIp()
Returns:

setPublicIp

public void setPublicIp(String publicIp)
Parameters:
publicIp -

withPublicIp

public Address withPublicIp(String publicIp)

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

Parameters:
publicIp -
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 Address 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 Address 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.

getDomain

public String getDomain()
Returns the value of the Domain property for this object.

Constraints:
Allowed Values: vpc, standard

Returns:
The value of the Domain property for this object.
See Also:
DomainType

setDomain

public void setDomain(String domain)
Sets the value of the Domain property for this object.

Constraints:
Allowed Values: vpc, standard

Parameters:
domain - The new value for the Domain property for this object.
See Also:
DomainType

withDomain

public Address withDomain(String domain)
Sets the value of the Domain property for this object.

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

Constraints:
Allowed Values: vpc, standard

Parameters:
domain - The new value for the Domain property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
DomainType

setDomain

public void setDomain(DomainType domain)
Sets the value of the Domain property for this object.

Constraints:
Allowed Values: vpc, standard

Parameters:
domain - The new value for the Domain property for this object.
See Also:
DomainType

withDomain

public Address withDomain(DomainType domain)
Sets the value of the Domain property for this object.

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

Constraints:
Allowed Values: vpc, standard

Parameters:
domain - The new value for the Domain property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
DomainType

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 Address 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.

getNetworkInterfaceOwnerId

public String getNetworkInterfaceOwnerId()
Returns the value of the NetworkInterfaceOwnerId property for this object.

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

setNetworkInterfaceOwnerId

public void setNetworkInterfaceOwnerId(String networkInterfaceOwnerId)
Sets the value of the NetworkInterfaceOwnerId property for this object.

Parameters:
networkInterfaceOwnerId - The new value for the NetworkInterfaceOwnerId property for this object.

withNetworkInterfaceOwnerId

public Address withNetworkInterfaceOwnerId(String networkInterfaceOwnerId)
Sets the value of the NetworkInterfaceOwnerId property for this object.

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

Parameters:
networkInterfaceOwnerId - The new value for the NetworkInterfaceOwnerId 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 Address 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.

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.