public static class S3GuardTool.BucketInfo extends S3GuardTool
S3GuardTool.BucketInfo| Modifier and Type | Field and Description |
|---|---|
static String |
BUCKET_INFO |
static String |
ENCRYPTION_FLAG |
static String |
FIPS_FLAG |
static String |
GUARDED_FLAG |
static String |
IS_MARKER_AWARE |
static String |
LOCATION_UNKNOWN
Output when the client cannot get the location of a bucket.
|
static String |
MAGIC_FLAG |
static String |
MARKERS_AWARE |
static String |
MARKERS_FLAG |
static String |
NAME |
static String |
PURPOSE |
static String |
UNGUARDED_FLAG |
AGE_OPTIONS_USAGE, DAYS_FLAG, HOURS_FLAG, META_FLAG, MINUTES_FLAG, SECONDS_FLAG, VERBOSE, WRONG_FILESYSTEM| Constructor and Description |
|---|
BucketInfo(org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Return sub-command name.
|
String |
getUsage() |
int |
run(String[] args,
PrintStream out)
Run the tool, capturing the output (if the tool supports that).
|
addAgeOptions, badState, bindFilesystem, close, dumpFileSystemStatistics, errorln, errorln, exit, exitException, getCommandFormat, getFilesystem, initS3AFileSystem, invalidArgs, main, notFound, parseArgs, parseArgsWithErrorReporting, println, resetBindings, run, run, s3guardUnsupported, toUri, userAbortedpublic static final String BUCKET_INFO
public static final String NAME
public static final String GUARDED_FLAG
public static final String UNGUARDED_FLAG
public static final String ENCRYPTION_FLAG
public static final String MAGIC_FLAG
public static final String MARKERS_FLAG
public static final String MARKERS_AWARE
public static final String FIPS_FLAG
public static final String PURPOSE
@VisibleForTesting public static final String LOCATION_UNKNOWN
@VisibleForTesting public static final String IS_MARKER_AWARE
public String getName()
S3GuardToolgetName in class S3GuardToolpublic String getUsage()
getUsage in class S3GuardToolpublic int run(String[] args, PrintStream out) throws InterruptedException, IOException
S3GuardToolExitUtil.ExitException with their exit
code set to the desired exit value. The exit code of such an exception
is used for the tool's exit code, and the stack trace only logged at
debug.run in class S3GuardToolargs - argument listout - output streamInterruptedExceptionIOExceptionCopyright © 2008–2024 Apache Software Foundation. All rights reserved.