Package com.amazonaws.services.ec2

Examples of com.amazonaws.services.ec2.AmazonEC2.disassociateAddress()


                        dissociateRequest.setAssociationId(eipAddress.getAssociationId());
                    } else {
                        dissociateRequest.setPublicIp(eipAddress.getPublicIp());
                    }

                    ec2Service.disassociateAddress(dissociateRequest);
                    logger.info("Dissociated the EIP {} from this instance",
                            myPublicIP);
                }
            } catch (Throwable e) {
                throw new RuntimeException("Cannot dissociate address"
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.