public static enum GetBucketRequest.Fields extends Enum<GetBucketRequest.Fields> implements BmcEnum
Bucket summary includes the ‘namespace’, ‘name’, ‘compartmentId’, ‘createdBy’, ‘timeCreated’, and ‘etag’ fields. This parameter can also include ‘approximateCount’ (approximate number of objects), ‘approximateSize’ (total approximate size in bytes of all objects) and ‘autoTiering’ (state of auto tiering on the bucket). For example ‘approximateCount,approximateSize,autoTiering’.
Enum Constant and Description |
---|
ApproximateCount |
ApproximateSize |
AutoTiering |
Modifier and Type | Method and Description |
---|---|
static GetBucketRequest.Fields |
create(String key) |
String |
getValue() |
static GetBucketRequest.Fields |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GetBucketRequest.Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GetBucketRequest.Fields ApproximateCount
public static final GetBucketRequest.Fields ApproximateSize
public static final GetBucketRequest.Fields AutoTiering
public static GetBucketRequest.Fields[] values()
for (GetBucketRequest.Fields c : GetBucketRequest.Fields.values()) System.out.println(c);
public static GetBucketRequest.Fields valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static GetBucketRequest.Fields create(String key)
Copyright © 2016–2024. All rights reserved.