Class ArmStreamingEndpointCurrentSku
java.lang.Object
com.azure.resourcemanager.mediaservices.models.ArmStreamingEndpointCurrentSku
The streaming endpoint current sku.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ArmStreamingEndpointCurrentSku class. -
Method Summary
Modifier and TypeMethodDescriptioncapacity()
Get the capacity property: The streaming endpoint sku capacity.name()
Get the name property: The streaming endpoint sku name.void
validate()
Validates the instance.withCapacity
(Integer capacity) Set the capacity property: The streaming endpoint sku capacity.
-
Constructor Details
-
ArmStreamingEndpointCurrentSku
public ArmStreamingEndpointCurrentSku()Creates an instance of ArmStreamingEndpointCurrentSku class.
-
-
Method Details
-
name
Get the name property: The streaming endpoint sku name.- Returns:
- the name value.
-
capacity
Get the capacity property: The streaming endpoint sku capacity.- Returns:
- the capacity value.
-
withCapacity
Set the capacity property: The streaming endpoint sku capacity.- Parameters:
capacity
- the capacity value to set.- Returns:
- the ArmStreamingEndpointCurrentSku object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-