|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ElasticIPAddressClient
Provides access to EC2 via their REST API.
Method Summary | |
---|---|
String |
allocateAddressInRegion(String region)
Acquires an elastic IP address for use with your identity. |
void |
associateAddressInRegion(String region,
String publicIp,
String instanceId)
Associates an elastic IP address with an instance. |
Set<PublicIpInstanceIdPair> |
describeAddressesInRegion(String region,
String... publicIps)
Lists elastic IP addresses assigned to your identity or provides information about a specific address. |
void |
disassociateAddressInRegion(String region,
String publicIp)
Disassociates the specified elastic IP address from the instance to which it is assigned. |
void |
releaseAddressInRegion(String region,
String publicIp)
Releases an elastic IP address associated with your identity. |
Method Detail |
---|
String allocateAddressInRegion(@Nullable String region)
region
- Elastic IP addresses are tied to a Region and cannot be mapped across Regions.#describeAddresses
,
#releaseAddress
,
#associateAddress
,
#disassociateAddress
,
void associateAddressInRegion(@Nullable String region, String publicIp, String instanceId)
region
- Elastic IP addresses are tied to a Region and cannot be mapped across Regions.publicIp
- IP address that you are assigning to the instance.instanceId
- The instance to associate with the IP address.#allocateAddress
,
#describeAddresses
,
#releaseAddress
,
#disassociateAddress
,
void disassociateAddressInRegion(@Nullable String region, String publicIp)
region
- Elastic IP addresses are tied to a Region and cannot be mapped across Regions.publicIp
- IP address that you are assigning to the instance.#allocateAddress
,
#describeAddresses
,
#releaseAddress
,
#associateAddress
,
void releaseAddressInRegion(@Nullable String region, String publicIp)
region
- Elastic IP addresses are tied to a Region and cannot be mapped across Regions.publicIp
- The IP address that you are releasing from your identity.#allocateAddress
,
#describeAddresses
,
#associateAddress
,
#disassociateAddress
,
Set<PublicIpInstanceIdPair> describeAddressesInRegion(@Nullable String region, String... publicIps)
region
- Elastic IP addresses are tied to a Region and cannot be mapped across Regions.publicIps
- Elastic IP address to describe.
AWSResponseException
- if the requested publicIp is not found#allocateAddress
,
#releaseAddress
,
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |