- All Implemented Interfaces:
public enum BucketServiceMapping extends Enum<BucketServiceMapping>
Defines the relationship between a bucket and a service.
- Michael Nitschinger
Nested Class Summary
Enum Constant Summary
Enum Constants Enum Constant DescriptionThe service can only handle one bucket at a time.The service is able to handle all buckets at the same time.
Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Enum Constant Details
ONE_FOR_ALLpublic static final BucketServiceMapping ONE_FOR_ALLThe service is able to handle all buckets at the same time. This is true for all services where their authentication mechanism is not bound to the connection, but rather to the request object itself.
ONE_BY_ONEpublic static final BucketServiceMapping ONE_BY_ONEThe service can only handle one bucket at a time. This is true for all services which have their authentication mechanism bound at connection time, allowing a service not to be reused across buckets.
valuespublic static BucketServiceMapping values()Returns an array containing the constants of this enum type, in the order they are declared.
- an array containing the constants of this enum type, in the order they are declared
valueOfReturns 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.)