Enum PreferredChannelPipeline
- java.lang.Object
-
- java.lang.Enum<PreferredChannelPipeline>
-
- software.amazon.awssdk.services.medialive.model.PreferredChannelPipeline
-
- All Implemented Interfaces:
Serializable,Comparable<PreferredChannelPipeline>
@Generated("software.amazon.awssdk:codegen") public enum PreferredChannelPipeline extends Enum<PreferredChannelPipeline>
Indicates which pipeline is preferred by the multiplex for program ingest. If set to \"PIPELINE_0\" or \"PIPELINE_1\" and an unhealthy ingest causes the multiplex to switch to the non-preferred pipeline, it will switch back once that ingest is healthy again. If set to \"CURRENTLY_ACTIVE\", it will not switch back to the other pipeline based on it recovering to a healthy state, it will only switch if the active pipeline becomes unhealthy.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CURRENTLY_ACTIVEPIPELINE_0PIPELINE_1UNKNOWN_TO_SDK_VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PreferredChannelPipelinefromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<PreferredChannelPipeline>knownValues()StringtoString()static PreferredChannelPipelinevalueOf(String name)Returns the enum constant of this type with the specified name.static PreferredChannelPipeline[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CURRENTLY_ACTIVE
public static final PreferredChannelPipeline CURRENTLY_ACTIVE
-
PIPELINE_0
public static final PreferredChannelPipeline PIPELINE_0
-
PIPELINE_1
public static final PreferredChannelPipeline PIPELINE_1
-
UNKNOWN_TO_SDK_VERSION
public static final PreferredChannelPipeline UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static PreferredChannelPipeline[] 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 (PreferredChannelPipeline c : PreferredChannelPipeline.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PreferredChannelPipeline 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<PreferredChannelPipeline>
-
fromValue
public static PreferredChannelPipeline fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- PreferredChannelPipeline corresponding to the value
-
knownValues
public static Set<PreferredChannelPipeline> knownValues()
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownPreferredChannelPipelines
-
-