Package com.amazonaws.resources.internal

Examples of com.amazonaws.resources.internal.ActionResult


    @Override
    public DescribeSnapshotAttributeResult describeAttribute(
            DescribeSnapshotAttributeRequest request,
            ResultCapture<DescribeSnapshotAttributeResult> extractor) {

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

        if (result == null) return null;
        return (DescribeSnapshotAttributeResult) result.getData();
    }
View Full Code Here


    @Override
    public List<com.amazonaws.resources.ec2.Tag> createTags(CreateTagsRequest
            request, ResultCapture<Void> extractor) {

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

        if (result == null) return null;
        return CodecUtils.transform(result.getResources(), TagImpl.CODEC);
    }
View Full Code Here

    @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();
    }
View Full Code Here

    @Override
    public DetachVolumeResult detachFromInstance(DetachVolumeRequest request,
            ResultCapture<DetachVolumeResult> extractor) {

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

        if (result == null) return null;
        return (DetachVolumeResult) result.getData();
    }
View Full Code Here

    @Override
    public AttachVolumeResult attachToInstance(AttachVolumeRequest request,
            ResultCapture<AttachVolumeResult> extractor) {

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

        if (result == null) return null;
        return (AttachVolumeResult) result.getData();
    }
View Full Code Here

    @Override
    public DescribeVolumeAttributeResult describeAttribute(
            DescribeVolumeAttributeRequest request,
            ResultCapture<DescribeVolumeAttributeResult> extractor) {

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

        if (result == null) return null;
        return (DescribeVolumeAttributeResult) result.getData();
    }
View Full Code Here

    @Override
    public DescribeVolumeStatusResult describeStatus(DescribeVolumeStatusRequest
            request, ResultCapture<DescribeVolumeStatusResult> extractor) {

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

        if (result == null) return null;
        return (DescribeVolumeStatusResult) result.getData();
    }
View Full Code Here

    @Override
    public List<com.amazonaws.resources.ec2.Tag> createTags(CreateTagsRequest
            request, ResultCapture<Void> extractor) {

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

        if (result == null) return null;
        return CodecUtils.transform(result.getResources(), TagImpl.CODEC);
    }
View Full Code Here

    @Override
    public Snapshot createSnapshot(CreateSnapshotRequest request,
            ResultCapture<CreateSnapshotResult> extractor) {

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

        if (result == null) return null;
        return new SnapshotImpl(result.getResource());
    }
View Full Code Here

    @Override
    public NetworkInterface createNetworkInterface(CreateNetworkInterfaceRequest
            request, ResultCapture<CreateNetworkInterfaceResult> extractor) {

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

        if (result == null) return null;
        return new NetworkInterfaceImpl(result.getResource());
    }
View Full Code Here

TOP

Related Classes of com.amazonaws.resources.internal.ActionResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.