Package com.amazonaws.services.redshift.model

Examples of com.amazonaws.services.redshift.model.ClusterNotFoundException


        describeClustersRequest.setClusterIdentifier(clusterIdentifier);
        List<Cluster> clusters = client.describeClusters(describeClustersRequest).getClusters();
        if (clusters.size() == 1) {
            return clusters.get(0).getClusterStatus();
        }
        throw new ClusterNotFoundException(clusterIdentifier);

    }
View Full Code Here


        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("ClusterNotFound"))
            return null;

        ClusterNotFoundException e = (ClusterNotFoundException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("ClusterNotFound"))
            return null;

        ClusterNotFoundException e = (ClusterNotFoundException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

TOP

Related Classes of com.amazonaws.services.redshift.model.ClusterNotFoundException

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.