Examples of DescribeKeyPairsResponseInfoType


Examples of com.amazon.ec2.DescribeKeyPairsResponseInfoType

    }

    public static DescribeKeyPairsResponse toDescribeKeyPairs(final EC2DescribeKeyPairsResponse response) {
        EC2SSHKeyPair[] keyPairs = response.getKeyPairSet();

        DescribeKeyPairsResponseInfoType respInfoType = new DescribeKeyPairsResponseInfoType();
        if (keyPairs != null && keyPairs.length > 0) {
            for (final EC2SSHKeyPair key : keyPairs) {
                DescribeKeyPairsResponseItemType respItemType = new DescribeKeyPairsResponseItemType();
                respItemType.setKeyFingerprint(key.getFingerprint());
                respItemType.setKeyName(key.getKeyName());
                respInfoType.addItem(respItemType);
            }
        }

        DescribeKeyPairsResponseType respType = new DescribeKeyPairsResponseType();
        respType.setRequestId(UUID.randomUUID().toString());
View Full Code Here

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

    private static DescribeKeyPairsResponseType convertDKPRTList(List retList) {
        final DescribeKeyPairsResponseItemType[] rets =
                (DescribeKeyPairsResponseItemType[]) retList.toArray(
                        new DescribeKeyPairsResponseItemType[retList.size()]);

        final DescribeKeyPairsResponseInfoType dkprt =
                new DescribeKeyPairsResponseInfoType();
        dkprt.setItem(rets);

        final DescribeKeyPairsResponseType response =
                new DescribeKeyPairsResponseType();
        response.setKeySet(dkprt);
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.