Examples of DescribeKeyPairsInfoType


Examples of com.amazon.ec2.DescribeKeyPairsInfoType

    public DescribeKeyPairsResponse describeKeyPairs(DescribeKeyPairs describeKeyPairs) {

        EC2DescribeKeyPairs ec2Request = new EC2DescribeKeyPairs();

        // multiple keynames may be provided
        DescribeKeyPairsInfoType kset = describeKeyPairs.getDescribeKeyPairs().getKeySet();
        if (kset != null) {
            DescribeKeyPairsItemType[] keyPairKeys = kset.getItem();
            if (keyPairKeys != null) {
                for (DescribeKeyPairsItemType key : keyPairKeys) {
                    ec2Request.addKeyName(key.getKeyName());
                }
            }
View Full Code Here

Examples of org.nimbustools.messaging.gt4_0_elastic.generated.v2010_08_31.DescribeKeyPairsInfoType

        if (req == null) {
            throw new RemoteException("describeKeyPairs request is missing");
        }

        final DescribeKeyPairsInfoType pairsInfoType = req.getKeySet();
        final DescribeKeyPairsItemType[] keyPairsItemTypes =
                                                pairsInfoType.getItem();

        final String[] filterQuery;
        if (keyPairsItemTypes == null || keyPairsItemTypes.length == 0) {
            filterQuery = null;
        } else {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.