List of usage examples for com.amazonaws.services.redshift.model RestoreFromClusterSnapshotRequest RestoreFromClusterSnapshotRequest
RestoreFromClusterSnapshotRequest
From source file:com.gs.obevo.amazon.RedshiftInstanceUtil.java
License:Apache License
private void restore(String dbInstanceIdentifier) throws Exception { Cluster response = client.restoreFromClusterSnapshot(new RestoreFromClusterSnapshotRequest() .withSnapshotIdentifier(SNAPSHOT_IDENTIFIER).withClusterIdentifier(INSTANCE_ID)); System.out.println(response); describe(dbInstanceIdentifier);/*from w w w.j av a 2 s.c om*/ }