Package com.amazonaws.resources.internal

Examples of com.amazonaws.resources.internal.ResourceImpl


        return (String) resource.getAttribute("Path");
    }

    @Override
    public GroupPolicy getGroupPolicy(String name) {
        ResourceImpl result = resource.getSubResource("GroupPolicy", name);
        if (result == null) return null;
        return new GroupPolicyImpl(result);
    }
View Full Code Here


        return (String) resource.getAttribute("PolicyDocument");
    }

    @Override
    public User getUser() {
        ResourceImpl result = resource.getReference("User");
        if (result == null) return null;
        return new UserImpl(result);
    }
View Full Code Here

        return service.getClient();
    }

    @Override
    public KeyPair getKeyPair(String name) {
        ResourceImpl result = service.getSubResource("KeyPair", name);
        if (result == null) return null;
        return new KeyPairImpl(result);
    }
View Full Code Here

        return new KeyPairImpl(result);
    }

    @Override
    public RouteTable getRouteTable(String id) {
        ResourceImpl result = service.getSubResource("RouteTable", id);
        if (result == null) return null;
        return new RouteTableImpl(result);
    }
View Full Code Here

        return new RouteTableImpl(result);
    }

    @Override
    public Instance getInstance(String id) {
        ResourceImpl result = service.getSubResource("Instance", id);
        if (result == null) return null;
        return new InstanceImpl(result);
    }
View Full Code Here

        return new InstanceImpl(result);
    }

    @Override
    public NetworkInterface getNetworkInterface(String id) {
        ResourceImpl result = service.getSubResource("NetworkInterface", id);
        if (result == null) return null;
        return new NetworkInterfaceImpl(result);
    }
View Full Code Here

        return new NetworkInterfaceImpl(result);
    }

    @Override
    public Volume getVolume(String id) {
        ResourceImpl result = service.getSubResource("Volume", id);
        if (result == null) return null;
        return new VolumeImpl(result);
    }
View Full Code Here

        return new VolumeImpl(result);
    }

    @Override
    public DhcpOptions getDhcpOptions(String id) {
        ResourceImpl result = service.getSubResource("DhcpOptions", id);
        if (result == null) return null;
        return new DhcpOptionsImpl(result);
    }
View Full Code Here

        return new DhcpOptionsImpl(result);
    }

    @Override
    public PlacementGroup getPlacementGroup(String name) {
        ResourceImpl result = service.getSubResource("PlacementGroup", name);
        if (result == null) return null;
        return new PlacementGroupImpl(result);
    }
View Full Code Here

        return new PlacementGroupImpl(result);
    }

    @Override
    public InternetGateway getInternetGateway(String id) {
        ResourceImpl result = service.getSubResource("InternetGateway", id);
        if (result == null) return null;
        return new InternetGatewayImpl(result);
    }
View Full Code Here

TOP

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

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.