Enum UpdateBucketDetails.Versioning

  • All Implemented Interfaces:
    BmcEnum, Serializable, Comparable<UpdateBucketDetails.Versioning>
    Enclosing class:
    UpdateBucketDetails

    public static enum UpdateBucketDetails.Versioning
    extends Enum<UpdateBucketDetails.Versioning>
    implements BmcEnum
    The versioning status on the bucket.

    If in state Enabled, multiple versions of the same object can be kept in the bucket. When the object is overwritten or deleted, previous versions will still be available. When versioning is Suspended, the previous versions will still remain but new versions will no longer be created when overwitten or deleted. Versioning cannot be disabled on a bucket once enabled.

    • Method Detail

      • values

        public static UpdateBucketDetails.Versioning[] 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 (UpdateBucketDetails.Versioning c : UpdateBucketDetails.Versioning.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static UpdateBucketDetails.Versioning 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