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

项目:aws-sdk-java-resources    文件:SnapshotImpl.java   
@Override
public CopySnapshotResult copy(CopySnapshotRequest request,
        ResultCapture<CopySnapshotResult> extractor) {

    ActionResult result = resource.performAction("Copy", request,
            extractor);

    if (result == null) return null;
    return (CopySnapshotResult) result.getData();
}
项目:elasticsearch_my    文件:AmazonEC2Mock.java   
@Override
public CopySnapshotResult copySnapshot(CopySnapshotRequest copySnapshotRequest) throws AmazonServiceException, AmazonClientException {
    throw new UnsupportedOperationException("Not supported in mock");
}
项目:aws-sdk-java-resources    文件:SnapshotImpl.java   
@Override
public CopySnapshotResult copy(CopySnapshotRequest request) {
    return copy(request, null);
}
项目:aws-sdk-java-resources    文件:Snapshot.java   
/**
 * Performs the <code>Copy</code> action.
 *
 * <p>
 * The following request parameters will be populated from the data of this
 * <code>Snapshot</code> resource, and any conflicting parameter value set
 * in the request will be overridden:
 * <ul>
 *   <li>
 *     <b><code>SourceSnapshotId</code></b>
 *         - mapped from the <code>Id</code> identifier.
 *   </li>
 * </ul>
 *
 * <p>
 *
 * @return The response of the low-level client operation associated with
 *         this resource action.
 * @see CopySnapshotRequest
 */
CopySnapshotResult copy(CopySnapshotRequest request);
项目:aws-sdk-java-resources    文件:Snapshot.java   
/**
 * Performs the <code>Copy</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>Snapshot</code> resource, and any conflicting parameter value set
 * in the request will be overridden:
 * <ul>
 *   <li>
 *     <b><code>SourceSnapshotId</code></b>
 *         - mapped from the <code>Id</code> identifier.
 *   </li>
 * </ul>
 *
 * <p>
 *
 * @return The response of the low-level client operation associated with
 *         this resource action.
 * @see CopySnapshotRequest
 */
CopySnapshotResult copy(CopySnapshotRequest request,
        ResultCapture<CopySnapshotResult> extractor);