We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cb6531 commit d096e69Copy full SHA for d096e69
java/example_code/redshift/CreateAndDescribeSnapshot.java
@@ -15,12 +15,12 @@ public class CreateAndDescribeSnapshot {
15
public static String clusterIdentifier = "***provide a cluster identifier***";
16
public static long sleepTime = 20;
17
18
+
19
public static void main(String[] args) throws IOException {
20
21
// Default client using the {@link
22
// com.amazonaws.auth.DefaultAWSCredentialsProviderChain}
23
client = AmazonRedshiftClientBuilder.defaultClient();
-
24
try {
25
// Unique snapshot identifier
26
String snapshotId = "my-snapshot-" + (new SimpleDateFormat("yyyy-MM-dd-HH-mm-ss")).format(new Date());
0 commit comments