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


Java DescribeDhcpOptionsRequest類代碼示例

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


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

示例1: getDhcpOptionsSets

import com.amazonaws.services.ec2.model.DescribeDhcpOptionsRequest; //導入依賴的package包/類
@Override
public DhcpOptionsCollection getDhcpOptionsSets(DescribeDhcpOptionsRequest
        request) {

    ResourceCollectionImpl result = service.getCollection("DhcpOptionsSets",
            request);

    if (result == null) return null;
    return new DhcpOptionsCollectionImpl(result);
}
 
開發者ID:awslabs,項目名稱:aws-sdk-java-resources,代碼行數:11,代碼來源:EC2Impl.java

示例2: describeDhcpOptions

import com.amazonaws.services.ec2.model.DescribeDhcpOptionsRequest; //導入依賴的package包/類
@Override
public List<AbstractResource<?>> describeDhcpOptions(Account account, Region region, DateTime dt, Ec2Filter... filters) {
    AmazonEC2 ec2 = findClient(account, region);

    DescribeDhcpOptionsRequest req = new DescribeDhcpOptionsRequest();
    for (Ec2Filter filter : filters) {
        Filter f = new Filter().withName(filter.getName()).withValues(filter.getValues());
        req.withFilters(f);
    }

    log.debug("start describing dhcp options for account:{} in region:{} via api", account.getId() + "=>" + account.getName(), region);
    DescribeDhcpOptionsResult res = ec2.describeDhcpOptions(req);

    return converter.toVpcDhcpOptions(res.getDhcpOptions(), account.getId(), region, dt);
}
 
開發者ID:veyronfei,項目名稱:clouck,代碼行數:16,代碼來源:Ec2WrapperImpl.java

示例3: describeDhcpOptions

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

示例4: load

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

示例5: getDhcpOptionsSets

import com.amazonaws.services.ec2.model.DescribeDhcpOptionsRequest; //導入依賴的package包/類
/**
 * Retrieves the DhcpOptionsSets collection referenced by this resource.
 */
DhcpOptionsCollection getDhcpOptionsSets(DescribeDhcpOptionsRequest request)
        ;
 
開發者ID:awslabs,項目名稱:aws-sdk-java-resources,代碼行數:6,代碼來源:EC2.java

示例6: load

import com.amazonaws.services.ec2.model.DescribeDhcpOptionsRequest; //導入依賴的package包/類
/**
 * Makes a call to the service to load this resource's attributes if they
 * are not loaded yet.
 * The following request parameters will be populated from the data of this
 * <code>DhcpOptions</code> resource, and any conflicting parameter value
 * set in the request will be overridden:
 * <ul>
 *   <li>
 *     <b><code>DhcpOptionsIds.0</code></b>
 *         - mapped from the <code>Id</code> identifier.
 *   </li>
 * </ul>
 *
 * <p>
 *
 * @return Returns {@code true} if the resource is not yet loaded when this
 *         method was invoked, which indicates that a service call has been
 *         made to retrieve the attributes.
 * @see DescribeDhcpOptionsRequest
 */
boolean load(DescribeDhcpOptionsRequest request);
 
開發者ID:awslabs,項目名稱:aws-sdk-java-resources,代碼行數:22,代碼來源:DhcpOptions.java


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