當前位置: 首頁>>代碼示例>>Java>>正文


Java DeleteNetworkInterfaceRequest類代碼示例

本文整理匯總了Java中com.amazonaws.services.ec2.model.DeleteNetworkInterfaceRequest的典型用法代碼示例。如果您正苦於以下問題:Java DeleteNetworkInterfaceRequest類的具體用法?Java DeleteNetworkInterfaceRequest怎麽用?Java DeleteNetworkInterfaceRequest使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


DeleteNetworkInterfaceRequest類屬於com.amazonaws.services.ec2.model包,在下文中一共展示了DeleteNetworkInterfaceRequest類的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: deleteNICDirectlyWithEC2Client

import com.amazonaws.services.ec2.model.DeleteNetworkInterfaceRequest; //導入依賴的package包/類
/**
 * 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);
}
 
開發者ID:vmware,項目名稱:photon-model,代碼行數:15,代碼來源:TestAWSSetupUtils.java

示例2: deleteNetworkInterface

import com.amazonaws.services.ec2.model.DeleteNetworkInterfaceRequest; //導入依賴的package包/類
@Override
public void deleteNetworkInterface(DeleteNetworkInterfaceRequest deleteNetworkInterfaceRequest) throws AmazonServiceException, AmazonClientException {
    throw new UnsupportedOperationException("Not supported in mock");
}
 
開發者ID:justor,項目名稱:elasticsearch_my,代碼行數:5,代碼來源:AmazonEC2Mock.java

示例3: delete

import com.amazonaws.services.ec2.model.DeleteNetworkInterfaceRequest; //導入依賴的package包/類
@Override
public void delete(DeleteNetworkInterfaceRequest request) {
    delete(request, null);
}
 
開發者ID:awslabs,項目名稱:aws-sdk-java-resources,代碼行數:5,代碼來源:NetworkInterfaceImpl.java

示例4: delete

import com.amazonaws.services.ec2.model.DeleteNetworkInterfaceRequest; //導入依賴的package包/類
/**
 * 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);
 
開發者ID:awslabs,項目名稱:aws-sdk-java-resources,代碼行數:20,代碼來源:NetworkInterface.java


注:本文中的com.amazonaws.services.ec2.model.DeleteNetworkInterfaceRequest類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。