Class SourcePriority
- java.lang.Object
-
- software.amazon.awssdk.services.mediaconnect.model.SourcePriority
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SourcePriority.Builder,SourcePriority>
@Generated("software.amazon.awssdk:codegen") public final class SourcePriority extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SourcePriority.Builder,SourcePriority>
The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSourcePriority.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SourcePriority.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringprimarySource()The name of the source you choose as the primary source for this flow.List<SdkField<?>>sdkFields()static Class<? extends SourcePriority.Builder>serializableBuilderClass()SourcePriority.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
primarySource
public final String primarySource()
The name of the source you choose as the primary source for this flow.- Returns:
- The name of the source you choose as the primary source for this flow.
-
toBuilder
public SourcePriority.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SourcePriority.Builder,SourcePriority>
-
builder
public static SourcePriority.Builder builder()
-
serializableBuilderClass
public static Class<? extends SourcePriority.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-