Skip to content

Commit

Permalink
Use enum
Browse files Browse the repository at this point in the history
  • Loading branch information
olevitt committed Jan 8, 2024
1 parent 3804742 commit 373c62e
Showing 1 changed file with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1025,20 +1025,27 @@ public void setRoleSessionName(String roleSessionName) {
}
}

public enum BucketMode {
@JsonProperty("multi")
MULTI,
@JsonProperty("shared")
SHARED
}

public static class WorkingDirectory {

private String bucketMode;
private BucketMode bucketMode;
private String bucketName;
private String prefix;
private String prefixGroup;
private String bucketNamePrefix;
private String bucketNamePrefixGroup;

public String getBucketMode() {
public BucketMode getBucketMode() {
return bucketMode;
}

public void setBucketMode(String bucketMode) {
public void setBucketMode(BucketMode bucketMode) {
this.bucketMode = bucketMode;
}

Expand Down

0 comments on commit 373c62e

Please sign in to comment.