Package software.amazon.awssdk.http
Enum ContentStreamProvider.ProviderType
- java.lang.Object
-
- java.lang.Enum<ContentStreamProvider.ProviderType>
-
- software.amazon.awssdk.http.ContentStreamProvider.ProviderType
-
- All Implemented Interfaces:
Serializable,Comparable<ContentStreamProvider.ProviderType>
- Enclosing interface:
- ContentStreamProvider
public static enum ContentStreamProvider.ProviderType extends Enum<ContentStreamProvider.ProviderType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()StringgetShortValue()static StringshortValueFromName(String name)static ContentStreamProvider.ProviderTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ContentStreamProvider.ProviderType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FILE
public static final ContentStreamProvider.ProviderType FILE
-
BYTES
public static final ContentStreamProvider.ProviderType BYTES
-
STRING
public static final ContentStreamProvider.ProviderType STRING
-
STREAM
public static final ContentStreamProvider.ProviderType STREAM
-
UNKNOWN
public static final ContentStreamProvider.ProviderType UNKNOWN
-
-
Method Detail
-
values
public static ContentStreamProvider.ProviderType[] 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 (ContentStreamProvider.ProviderType c : ContentStreamProvider.ProviderType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContentStreamProvider.ProviderType 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
-
getName
public String getName()
-
getShortValue
public String getShortValue()
-
-