Class LabServicesSkuRestrictions
- java.lang.Object
-
- com.azure.resourcemanager.labservices.models.LabServicesSkuRestrictions
-
public final class LabServicesSkuRestrictions extends Object
The restriction details.
-
-
Constructor Summary
Constructors Constructor Description LabServicesSkuRestrictions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestrictionReasonCode
reasonCode()
Get the reasonCode property: The reason for the restriction.RestrictionType
type()
Get the type property: The type of restriction.void
validate()
Validates the instance.List<String>
values()
Get the values property: The values of the restriction.
-
-
-
Method Detail
-
type
public RestrictionType type()
Get the type property: The type of restriction.- Returns:
- the type value.
-
values
public List<String> values()
Get the values property: The values of the restriction.- Returns:
- the values value.
-
reasonCode
public RestrictionReasonCode reasonCode()
Get the reasonCode property: The reason for the restriction.- Returns:
- the reasonCode value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-