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

项目:elasticsearch_my    文件:AmazonEC2Mock.java   
@Override
public void modifyVpcAttribute(ModifyVpcAttributeRequest modifyVpcAttributeRequest) throws AmazonServiceException, AmazonClientException {
    throw new UnsupportedOperationException("Not supported in mock");
}
项目:cmn-project    文件:EC2VPC.java   
private void enableVPCDNS(String vpcId) {
    logger.info("enable VPC DNS support, vpcId={}", vpcId);
    ec2.modifyVpcAttribute(new ModifyVpcAttributeRequest().withVpcId(vpcId)
                                                          .withEnableDnsHostnames(true));
}
项目:aws-sdk-java-resources    文件:VpcImpl.java   
@Override
public void modifyAttribute(ModifyVpcAttributeRequest request) {
    modifyAttribute(request, null);
}
项目:aws-sdk-java-resources    文件:VpcImpl.java   
@Override
public void modifyAttribute(ModifyVpcAttributeRequest request,
        ResultCapture<Void> extractor) {

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