Class JobInputClip
java.lang.Object
com.azure.resourcemanager.mediaservices.models.JobInput
com.azure.resourcemanager.mediaservices.models.JobInputClip
- Direct Known Subclasses:
JobInputAsset
,JobInputHttp
Represents input files for a Job.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionend()
Get the end property: Defines a point on the timeline of the input media at which processing will end.files()
Get the files property: List of files.Get the inputDefinitions property: Defines a list of InputDefinitions.label()
Get the label property: A label that is assigned to a JobInputClip, that is used to satisfy a reference used in the Transform.start()
Get the start property: Defines a point on the timeline of the input media at which processing will start.void
validate()
Validates the instance.Set the end property: Defines a point on the timeline of the input media at which processing will end.Set the files property: List of files.withInputDefinitions
(List<InputDefinition> inputDefinitions) Set the inputDefinitions property: Defines a list of InputDefinitions.Set the label property: A label that is assigned to a JobInputClip, that is used to satisfy a reference used in the Transform.Set the start property: Defines a point on the timeline of the input media at which processing will start.
-
Constructor Details
-
JobInputClip
public JobInputClip()Creates an instance of JobInputClip class.
-
-
Method Details
-
files
Get the files property: List of files. Required for JobInputHttp. Maximum of 4000 characters each. Query strings will not be returned in service responses to prevent sensitive data exposure.- Returns:
- the files value.
-
withFiles
Set the files property: List of files. Required for JobInputHttp. Maximum of 4000 characters each. Query strings will not be returned in service responses to prevent sensitive data exposure.- Parameters:
files
- the files value to set.- Returns:
- the JobInputClip object itself.
-
start
Get the start property: Defines a point on the timeline of the input media at which processing will start. Defaults to the beginning of the input media.- Returns:
- the start value.
-
withStart
Set the start property: Defines a point on the timeline of the input media at which processing will start. Defaults to the beginning of the input media.- Parameters:
start
- the start value to set.- Returns:
- the JobInputClip object itself.
-
end
Get the end property: Defines a point on the timeline of the input media at which processing will end. Defaults to the end of the input media.- Returns:
- the end value.
-
withEnd
Set the end property: Defines a point on the timeline of the input media at which processing will end. Defaults to the end of the input media.- Parameters:
end
- the end value to set.- Returns:
- the JobInputClip object itself.
-
label
Get the label property: A label that is assigned to a JobInputClip, that is used to satisfy a reference used in the Transform. For example, a Transform can be authored so as to take an image file with the label 'xyz' and apply it as an overlay onto the input video before it is encoded. When submitting a Job, exactly one of the JobInputs should be the image file, and it should have the label 'xyz'.- Returns:
- the label value.
-
withLabel
Set the label property: A label that is assigned to a JobInputClip, that is used to satisfy a reference used in the Transform. For example, a Transform can be authored so as to take an image file with the label 'xyz' and apply it as an overlay onto the input video before it is encoded. When submitting a Job, exactly one of the JobInputs should be the image file, and it should have the label 'xyz'.- Parameters:
label
- the label value to set.- Returns:
- the JobInputClip object itself.
-
inputDefinitions
Get the inputDefinitions property: Defines a list of InputDefinitions. For each InputDefinition, it defines a list of track selections and related metadata.- Returns:
- the inputDefinitions value.
-
withInputDefinitions
Set the inputDefinitions property: Defines a list of InputDefinitions. For each InputDefinition, it defines a list of track selections and related metadata.- Parameters:
inputDefinitions
- the inputDefinitions value to set.- Returns:
- the JobInputClip object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classJobInput
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-