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

项目:photon-model    文件:TestAWSSetupUtils.java   
/**
 * Delete an AWS Nic by id
 */
public static void deleteNICDirectlyWithEC2Client(AmazonEC2Client client,
        VerificationHost host, String nicId) {
    if (nicId == null) {
        return;
    }

    DeleteNetworkInterfaceRequest deleteNicRequest = new DeleteNetworkInterfaceRequest()
            .withNetworkInterfaceId(nicId);
    host.log("Clean-up NIC with id: %s", nicId);
    client.deleteNetworkInterface(deleteNicRequest);
}
项目:elasticsearch_my    文件:AmazonEC2Mock.java   
@Override
public void deleteNetworkInterface(DeleteNetworkInterfaceRequest deleteNetworkInterfaceRequest) throws AmazonServiceException, AmazonClientException {
    throw new UnsupportedOperationException("Not supported in mock");
}
项目:aws-sdk-java-resources    文件:NetworkInterfaceImpl.java   
@Override
public void delete(DeleteNetworkInterfaceRequest request) {
    delete(request, null);
}
项目:aws-sdk-java-resources    文件:NetworkInterfaceImpl.java   
@Override
public void delete(DeleteNetworkInterfaceRequest request,
        ResultCapture<Void> extractor) {

    resource.performAction("Delete", request, extractor);
}
项目:aws-sdk-java-resources    文件:NetworkInterface.java   
/**
 * Performs the <code>Delete</code> action.
 *
 * <p>
 * The following request parameters will be populated from the data of this
 * <code>NetworkInterface</code> resource, and any conflicting parameter
 * value set in the request will be overridden:
 * <ul>
 *   <li>
 *     <b><code>NetworkInterfaceId</code></b>
 *         - mapped from the <code>Id</code> identifier.
 *   </li>
 * </ul>
 *
 * <p>
 *
 * @see DeleteNetworkInterfaceRequest
 */
void delete(DeleteNetworkInterfaceRequest request);
项目:aws-sdk-java-resources    文件:NetworkInterface.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>NetworkInterface</code> resource, and any conflicting parameter
 * value set in the request will be overridden:
 * <ul>
 *   <li>
 *     <b><code>NetworkInterfaceId</code></b>
 *         - mapped from the <code>Id</code> identifier.
 *   </li>
 * </ul>
 *
 * <p>
 *
 * @see DeleteNetworkInterfaceRequest
 */
void delete(DeleteNetworkInterfaceRequest request, ResultCapture<Void>
        extractor);