Package com.amazonaws.services.redshift.model

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


     */
    public static void deleteCluster(AmazonRedshiftClient client,
            String clusterIdentifier,
            boolean skipFinalClusterSnapshot) {
        if (clusterExists(client, clusterIdentifier)) {
            DeleteClusterRequest deleteClusterRequest = new DeleteClusterRequest();
            deleteClusterRequest.setClusterIdentifier(clusterIdentifier);
            deleteClusterRequest.setSkipFinalClusterSnapshot(skipFinalClusterSnapshot);
            client.deleteCluster(deleteClusterRequest);
        } else {
            LOG.warn("Amazon Redshift cluster " + clusterIdentifier + " does not exist");
        }
    }
View Full Code Here

TOP

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

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.