Class JobInputAsset
java.lang.Object
com.azure.resourcemanager.mediaservices.models.JobInput
com.azure.resourcemanager.mediaservices.models.JobInputClip
com.azure.resourcemanager.mediaservices.models.JobInputAsset
Represents an Asset for input into a Job.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the assetName property: The name of the input Asset.void
validate()
Validates the instance.withAssetName
(String assetName) Set the assetName property: The name of the input Asset.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.Methods inherited from class com.azure.resourcemanager.mediaservices.models.JobInputClip
end, files, inputDefinitions, label, start
-
Constructor Details
-
JobInputAsset
public JobInputAsset()Creates an instance of JobInputAsset class.
-
-
Method Details
-
assetName
Get the assetName property: The name of the input Asset.- Returns:
- the assetName value.
-
withAssetName
Set the assetName property: The name of the input Asset.- Parameters:
assetName
- the assetName value to set.- Returns:
- the JobInputAsset object itself.
-
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.- Overrides:
withFiles
in classJobInputClip
- Parameters:
files
- the files value to set.- Returns:
- the JobInputClip object itself.
-
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.- Overrides:
withStart
in classJobInputClip
- Parameters:
start
- the start value to set.- Returns:
- the JobInputClip object itself.
-
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.- Overrides:
withEnd
in classJobInputClip
- Parameters:
end
- the end value to set.- Returns:
- the JobInputClip object itself.
-
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'.- Overrides:
withLabel
in classJobInputClip
- Parameters:
label
- the label value to set.- Returns:
- the JobInputClip object itself.
-
withInputDefinitions
Set the inputDefinitions property: Defines a list of InputDefinitions. For each InputDefinition, it defines a list of track selections and related metadata.- Overrides:
withInputDefinitions
in classJobInputClip
- Parameters:
inputDefinitions
- the inputDefinitions value to set.- Returns:
- the JobInputClip object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classJobInputClip
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-