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 -
Method Summary
Modifier and TypeMethodDescriptionstatic PreferredChannelPipeline
Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set
<PreferredChannelPipeline> toString()
static PreferredChannelPipeline
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 Details
-
CURRENTLY_ACTIVE
-
PIPELINE_0
-
PIPELINE_1
-
UNKNOWN_TO_SDK_VERSION
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
- Overrides:
toString
in classEnum<PreferredChannelPipeline>
-
fromValue
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
Use this in place ofvalues()
to return aSet
of all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION
.- Returns:
- a
Set
of knownPreferredChannelPipeline
s
-