Class StreamingEntityScaleUnit
java.lang.Object
com.azure.resourcemanager.mediaservices.models.StreamingEntityScaleUnit
scale units definition.
-
Constructor Summary
ConstructorDescriptionCreates an instance of StreamingEntityScaleUnit class. -
Method Summary
Modifier and TypeMethodDescriptionGet the scaleUnit property: The scale unit number of the streaming endpoint.void
validate()
Validates the instance.withScaleUnit
(Integer scaleUnit) Set the scaleUnit property: The scale unit number of the streaming endpoint.
-
Constructor Details
-
StreamingEntityScaleUnit
public StreamingEntityScaleUnit()Creates an instance of StreamingEntityScaleUnit class.
-
-
Method Details
-
scaleUnit
Get the scaleUnit property: The scale unit number of the streaming endpoint.- Returns:
- the scaleUnit value.
-
withScaleUnit
Set the scaleUnit property: The scale unit number of the streaming endpoint.- Parameters:
scaleUnit
- the scaleUnit value to set.- Returns:
- the StreamingEntityScaleUnit object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-