Package com.dropbox.core.v2.teamlog
Enum PlacementRestriction
- java.lang.Object
-
- java.lang.Enum<PlacementRestriction>
-
- com.dropbox.core.v2.teamlog.PlacementRestriction
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PlacementRestriction>
public enum PlacementRestriction extends java.lang.Enum<PlacementRestriction>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUSTRALIA_ONLY
EUROPE_ONLY
JAPAN_ONLY
NONE
OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.UK_ONLY
US_S3_ONLY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PlacementRestriction
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PlacementRestriction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUSTRALIA_ONLY
public static final PlacementRestriction AUSTRALIA_ONLY
-
EUROPE_ONLY
public static final PlacementRestriction EUROPE_ONLY
-
JAPAN_ONLY
public static final PlacementRestriction JAPAN_ONLY
-
NONE
public static final PlacementRestriction NONE
-
UK_ONLY
public static final PlacementRestriction UK_ONLY
-
US_S3_ONLY
public static final PlacementRestriction US_S3_ONLY
-
OTHER
public static final PlacementRestriction OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.Receiving a catch-all value typically indicates this SDK version is not up to date. Consider updating your SDK version to handle the new tags.
-
-
Method Detail
-
values
public static PlacementRestriction[] 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 (PlacementRestriction c : PlacementRestriction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PlacementRestriction valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-