Enum GetBucketRequest.Fields
- java.lang.Object
-
- java.lang.Enum<GetBucketRequest.Fields>
-
- com.oracle.bmc.objectstorage.requests.GetBucketRequest.Fields
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<GetBucketRequest.Fields>
- Enclosing class:
- GetBucketRequest
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 Summary
Enum Constants Enum Constant Description ApproximateCount
ApproximateSize
AutoTiering
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
ApproximateCount
public static final GetBucketRequest.Fields ApproximateCount
-
ApproximateSize
public static final GetBucketRequest.Fields ApproximateSize
-
AutoTiering
public static final GetBucketRequest.Fields AutoTiering
-
-
Method Detail
-
values
public static GetBucketRequest.Fields[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GetBucketRequest.Fields c : GetBucketRequest.Fields.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GetBucketRequest.Fields valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static GetBucketRequest.Fields create(String key)
-
-