public interface ElasticIPAddressApi
Modifier and Type | Method and Description |
---|---|
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.
|
Set<PublicIpInstanceIdPair> |
describeAddressesInRegionWithFilter(String region,
com.google.common.collect.Multimap<String,String> filter)
Lists elastic IP addresses assigned to your identity or provides information on addresses
matching a given filter.
|
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.
|
@Named(value="AllocateAddress") String allocateAddressInRegion(@Nullable String region)
@Named(value="AssociateAddress") 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
,
@Named(value="DisassociateAddress") void disassociateAddressInRegion(@Nullable String region, String publicIp)
@Named(value="ReleaseAddress") void releaseAddressInRegion(@Nullable String region, String publicIp)
@Named(value="DescribeAddresses") Set<PublicIpInstanceIdPair> describeAddressesInRegion(@Nullable String region, String... publicIps)
@Named(value="DescribeAddresses") Set<PublicIpInstanceIdPair> describeAddressesInRegionWithFilter(@Nullable String region, com.google.common.collect.Multimap<String,String> filter)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.