Enum ExternalStorageType
- java.lang.Object
-
- java.lang.Enum<ExternalStorageType>
-
- com.adobe.pdfservices.operation.io.ExternalStorageType
-
- All Implemented Interfaces:
Serializable
,Comparable<ExternalStorageType>
public enum ExternalStorageType extends Enum<ExternalStorageType>
Supported External storage type to be used withExternalAsset
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLOB
Represents Blob storage.DROPBOX
Represents Dropbox storage.S3
Represents S3 storage.SHAREPOINT
Represents Sharepoint storage.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExternalStorageType
get(String storageType)
ReturnsExternalStorageType
instance for its string representation.String
toString()
Returns the string representation of the storage type.static ExternalStorageType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExternalStorageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SHAREPOINT
public static final ExternalStorageType SHAREPOINT
Represents Sharepoint storage.
-
S3
public static final ExternalStorageType S3
Represents S3 storage.
-
DROPBOX
public static final ExternalStorageType DROPBOX
Represents Dropbox storage.
-
BLOB
public static final ExternalStorageType BLOB
Represents Blob storage.
-
-
Method Detail
-
values
public static ExternalStorageType[] 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 (ExternalStorageType c : ExternalStorageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExternalStorageType 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 nameNullPointerException
- if the argument is null
-
get
public static ExternalStorageType get(String storageType)
ReturnsExternalStorageType
instance for its string representation.- Parameters:
storageType
- Storage type code- Returns:
- a
ExternalStorageType
instance
-
toString
public String toString()
Returns the string representation of the storage type.- Overrides:
toString
in classEnum<ExternalStorageType>
- Returns:
- Storage type
-
-