Enum 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’.

    • 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 name
        NullPointerException - if the argument is null