Package com.twilio.rest.events.v1
Enum Sink.SinkType
- java.lang.Object
-
- java.lang.Enum<Sink.SinkType>
-
- com.twilio.rest.events.v1.Sink.SinkType
-
- All Implemented Interfaces:
Serializable,Comparable<Sink.SinkType>
- Enclosing class:
- Sink
public static enum Sink.SinkType extends Enum<Sink.SinkType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Sink.SinkTypeforValue(String value)StringtoString()static Sink.SinkTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Sink.SinkType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KINESIS
public static final Sink.SinkType KINESIS
-
WEBHOOK
public static final Sink.SinkType WEBHOOK
-
SEGMENT
public static final Sink.SinkType SEGMENT
-
-
Method Detail
-
values
public static Sink.SinkType[] 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 (Sink.SinkType c : Sink.SinkType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Sink.SinkType 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<Sink.SinkType>
-
forValue
public static Sink.SinkType forValue(String value)
-
-