com.amazonaws.services.ec2.model
Class AllocateAddressResult

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

public class AllocateAddressResult
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
AllocateAddressResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAllocationId()
          [EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.
 java.lang.String getDomain()
          Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).
 java.lang.String getPublicIp()
          The Elastic IP address.
 int hashCode()
           
 void setAllocationId(java.lang.String allocationId)
          [EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.
 void setDomain(DomainType domain)
          Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).
 void setDomain(java.lang.String domain)
          Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).
 void setPublicIp(java.lang.String publicIp)
          The Elastic IP address.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 AllocateAddressResult withAllocationId(java.lang.String allocationId)
          [EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.
 AllocateAddressResult withDomain(DomainType domain)
          Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).
 AllocateAddressResult withDomain(java.lang.String domain)
          Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).
 AllocateAddressResult withPublicIp(java.lang.String publicIp)
          The Elastic IP address.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AllocateAddressResult

public AllocateAddressResult()
Method Detail

getPublicIp

public java.lang.String getPublicIp()
The Elastic IP address.

Returns:
The Elastic IP address.

setPublicIp

public void setPublicIp(java.lang.String publicIp)
The Elastic IP address.

Parameters:
publicIp - The Elastic IP address.

withPublicIp

public AllocateAddressResult withPublicIp(java.lang.String publicIp)
The Elastic IP address.

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

Parameters:
publicIp - The Elastic IP address.
Returns:
A reference to this updated object so that method calls can be chained together.

getDomain

public java.lang.String getDomain()
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).

Constraints:
Allowed Values: vpc, standard

Returns:
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).
See Also:
DomainType

setDomain

public void setDomain(java.lang.String domain)
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).

Constraints:
Allowed Values: vpc, standard

Parameters:
domain - Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).
See Also:
DomainType

withDomain

public AllocateAddressResult withDomain(java.lang.String domain)
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).

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

Constraints:
Allowed Values: vpc, standard

Parameters:
domain - Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
DomainType

setDomain

public void setDomain(DomainType domain)
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).

Constraints:
Allowed Values: vpc, standard

Parameters:
domain - Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).
See Also:
DomainType

withDomain

public AllocateAddressResult withDomain(DomainType domain)
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).

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

Constraints:
Allowed Values: vpc, standard

Parameters:
domain - Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
DomainType

getAllocationId

public java.lang.String getAllocationId()
[EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.

Returns:
[EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.

setAllocationId

public void setAllocationId(java.lang.String allocationId)
[EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.

Parameters:
allocationId - [EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.

withAllocationId

public AllocateAddressResult withAllocationId(java.lang.String allocationId)
[EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.

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

Parameters:
allocationId - [EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.
Returns:
A reference to this updated object so that method calls can be chained together.

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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