File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
javav2/example_code/s3/src/main/java/com/example/s3 Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ s3-control_CreateJob:
3333 - description : Create a legal hold off job.
3434 snippet_tags :
3535 - s3control.java2.create_job.compliance.main
36- - description : Create a new governance retemtion job.
36+ - description : Create a new governance retention job.
3737 snippet_tags :
38- - s3.java2.create_governance_retemtion .main
38+ - s3.java2.create_governance_retention .main
3939 services :
4040 s3-control : {CreateJob}
4141s3-control_PutJobTagging :
Original file line number Diff line number Diff line change 1212import java .util .Arrays ;
1313import java .util .Date ;
1414
15- // snippet-start:[s3.java2.create_governance_retemtion .main]
15+ // snippet-start:[s3.java2.create_governance_retention .main]
1616/**
1717 * Before running this Java V2 code example, set up your development
1818 * environment, including your credentials.
@@ -37,7 +37,7 @@ public static void main(String[]args) throws ParseException {
3737 manifestObjectVersionId = A unique value that is used as the `eTag` property of the `JobManifestLocation` object.
3838 """ ;
3939
40- if (args .length != 4 ) {
40+ if (args .length != 5 ) {
4141 System .out .println (usage );
4242 return ;
4343 }
@@ -109,4 +109,4 @@ public static String createGovernanceRetentionJob(final S3ControlClient s3Contro
109109 return result .jobId ();
110110 }
111111}
112- // snippet-end:[s3.java2.create_governance_retemtion .main]
112+ // snippet-end:[s3.java2.create_governance_retention .main]
You can’t perform that action at this time.
0 commit comments