com.amazonaws.services.ec2.model
Class Address

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

public class Address
extends java.lang.Object


Constructor Summary
Address()
           
 
Method Summary
 java.lang.String getAllocationId()
          Returns the value of the AllocationId property for this object.
 java.lang.String getDomain()
          Returns the value of the Domain property for this object.
 java.lang.String getInstanceId()
           
 java.lang.String getPublicIp()
           
 void setAllocationId(java.lang.String allocationId)
          Sets the value of the AllocationId property for this object.
 void setDomain(java.lang.String domain)
          Sets the value of the Domain property for this object.
 void setInstanceId(java.lang.String instanceId)
           
 void setPublicIp(java.lang.String publicIp)
           
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Address withAllocationId(java.lang.String allocationId)
          Sets the value of the AllocationId property for this object.
 Address withDomain(java.lang.String domain)
          Sets the value of the Domain property for this object.
 Address withInstanceId(java.lang.String instanceId)
           Returns a reference to this object so that method calls can be chained together.
 Address withPublicIp(java.lang.String publicIp)
           Returns a reference to this object so that method calls can be chained together.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Address

public Address()
Method Detail

getInstanceId

public java.lang.String getInstanceId()
Returns:

setInstanceId

public void setInstanceId(java.lang.String instanceId)
Parameters:
instanceId -

withInstanceId

public Address withInstanceId(java.lang.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 java.lang.String getPublicIp()
Returns:

setPublicIp

public void setPublicIp(java.lang.String publicIp)
Parameters:
publicIp -

withPublicIp

public Address withPublicIp(java.lang.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 java.lang.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(java.lang.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(java.lang.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.

getDomain

public java.lang.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(java.lang.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(java.lang.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

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()


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