Package com.amazonaws.resources.internal

Examples of com.amazonaws.resources.internal.ActionResult


    @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 List<Instance> createInstances(RunInstancesRequest request,
            ResultCapture<RunInstancesResult> extractor) {

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

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

    @Override
    public RouteTableAssociation replaceSubnet(
            ReplaceRouteTableAssociationRequest request,
            ResultCapture<ReplaceRouteTableAssociationResult> extractor) {

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

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

    @Override
    public TerminateInstancesResult terminate(TerminateInstancesRequest request,
            ResultCapture<TerminateInstancesResult> extractor) {

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

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

    @Override
    public StartInstancesResult start(StartInstancesRequest request,
            ResultCapture<StartInstancesResult> extractor) {

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

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

    @Override
    public GetConsoleOutputResult consoleOutput(GetConsoleOutputRequest request,
            ResultCapture<GetConsoleOutputResult> extractor) {

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

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

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

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

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

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

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

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

    @Override
    public Image createImage(CreateImageRequest request,
            ResultCapture<CreateImageResult> extractor) {

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

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

    @Override
    public StopInstancesResult stop(StopInstancesRequest request,
            ResultCapture<StopInstancesResult> extractor) {

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

        if (result == null) return null;
        return (StopInstancesResult) result.getData();
    }
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.