com.amazonaws.services.ec2.model
Class Address

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

public class Address
extends Object

Address


Constructor Summary
Address()
           
 
Method Summary
 String getInstanceId()
          Returns the value of the InstanceId property for this object.
 String getPublicIp()
          Returns the value of the PublicIp property for this object.
 void setInstanceId(String instanceId)
          Sets the value of the InstanceId property for this object.
 void setPublicIp(String publicIp)
          Sets the value of the PublicIp property for this object.
 Address withInstanceId(String instanceId)
          Sets the value of the InstanceId property for this object.
 Address withPublicIp(String publicIp)
          Sets the value of the PublicIp property for this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Address

public Address()
Method Detail

getInstanceId

public String getInstanceId()
Returns the value of the InstanceId property for this object.

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

setInstanceId

public void setInstanceId(String instanceId)
Sets the value of the InstanceId property for this object.

Parameters:
instanceId - The new value for the InstanceId property for this object.

withInstanceId

public Address withInstanceId(String instanceId)
Sets the value of the InstanceId property for this object.

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

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

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


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