Java 类com.amazonaws.services.ec2.model.DisassociateRouteTableRequest 实例源码

项目:cmn-project    文件:DeleteRouteTableTask.java   
@Override
public void execute(Context context) throws Exception {
    logger.info("delete route table, routeTableId={}", resource.id);
    for (RouteTableAssociation association : resource.remoteRouteTable.getAssociations()) {
        AWS.vpc.ec2.disassociateRouteTable(new DisassociateRouteTableRequest().withAssociationId(association.getRouteTableAssociationId()));
    }
    AWS.vpc.ec2.deleteRouteTable(new DeleteRouteTableRequest().withRouteTableId(resource.remoteRouteTable.getRouteTableId()));
}
项目:elasticsearch_my    文件:AmazonEC2Mock.java   
@Override
public void disassociateRouteTable(DisassociateRouteTableRequest disassociateRouteTableRequest) throws AmazonServiceException, AmazonClientException {
    throw new UnsupportedOperationException("Not supported in mock");
}
项目:aws-sdk-java-resources    文件:RouteTableAssociationImpl.java   
@Override
public void delete(DisassociateRouteTableRequest request) {
    delete(request, null);
}
项目:aws-sdk-java-resources    文件:RouteTableAssociationImpl.java   
@Override
public void delete(DisassociateRouteTableRequest request,
        ResultCapture<Void> extractor) {

    resource.performAction("Delete", request, extractor);
}
项目:aws-sdk-java-resources    文件:EC2Impl.java   
@Override
public void disassociateRouteTable(DisassociateRouteTableRequest request) {
    disassociateRouteTable(request, null);
}
项目:aws-sdk-java-resources    文件:EC2Impl.java   
@Override
public void disassociateRouteTable(DisassociateRouteTableRequest request,
        ResultCapture<Void> extractor) {

    service.performAction("DisassociateRouteTable", request, extractor);
}
项目:aws-sdk-java-resources    文件:EC2.java   
/**
 * Performs the <code>DisassociateRouteTable</code> action.
 *
 * <p>
 *
 * @see DisassociateRouteTableRequest
 */
void disassociateRouteTable(DisassociateRouteTableRequest request);
项目:aws-sdk-java-resources    文件:EC2.java   
/**
 * Performs the <code>DisassociateRouteTable</code> action and use a
 * ResultCapture to retrieve the low-level client response.
 *
 * <p>
 *
 * @see DisassociateRouteTableRequest
 */
void disassociateRouteTable(DisassociateRouteTableRequest request,
        ResultCapture<Void> extractor);
项目:aws-sdk-java-resources    文件:RouteTableAssociation.java   
/**
 * Performs the <code>Delete</code> action.
 *
 * <p>
 * The following request parameters will be populated from the data of this
 * <code>RouteTableAssociation</code> resource, and any conflicting
 * parameter value set in the request will be overridden:
 * <ul>
 *   <li>
 *     <b><code>AssociationId</code></b>
 *         - mapped from the <code>Id</code> identifier.
 *   </li>
 * </ul>
 *
 * <p>
 *
 * @see DisassociateRouteTableRequest
 */
void delete(DisassociateRouteTableRequest request);
项目:aws-sdk-java-resources    文件:RouteTableAssociation.java   
/**
 * Performs the <code>Delete</code> action and use a ResultCapture to
 * retrieve the low-level client response.
 *
 * <p>
 * The following request parameters will be populated from the data of this
 * <code>RouteTableAssociation</code> resource, and any conflicting
 * parameter value set in the request will be overridden:
 * <ul>
 *   <li>
 *     <b><code>AssociationId</code></b>
 *         - mapped from the <code>Id</code> identifier.
 *   </li>
 * </ul>
 *
 * <p>
 *
 * @see DisassociateRouteTableRequest
 */
void delete(DisassociateRouteTableRequest request, ResultCapture<Void>
        extractor);