Enum Bucket.BucketScope

  • All Implemented Interfaces:
    BmcEnum, Serializable, Comparable<Bucket.BucketScope>
    Enclosing class:
    Bucket

    public static enum Bucket.BucketScope
    extends Enum<Bucket.BucketScope>
    implements BmcEnum
    Scope in which the bucket is unique.

    Default value is NAMESPACE. Bucket scope as NAMESPACE means that the bucket is unique only in the owning namespace/tenancy. Other tenancies can have a bucket with same name in their namespace. Bucket scope as REGION means that the bucket is regionally unique. No other tenancy can have a bucket with same name and scope REGION.

    • Enum Constant Detail

      • UnknownEnumValue

        public static final Bucket.BucketScope UnknownEnumValue
        This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
    • Method Detail

      • values

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

        public static Bucket.BucketScope 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