Class CheckSkuAvailabilityParameter
- java.lang.Object
-
- com.azure.resourcemanager.cognitiveservices.models.CheckSkuAvailabilityParameter
-
public final class CheckSkuAvailabilityParameter extends Object
Check SKU availability parameter.
-
-
Constructor Summary
Constructors Constructor Description CheckSkuAvailabilityParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
kind()
Get the kind property: The Kind of the resource.List<String>
skus()
Get the skus property: The SKU of the resource.String
type()
Get the type property: The Type of the resource.void
validate()
Validates the instance.CheckSkuAvailabilityParameter
withKind(String kind)
Set the kind property: The Kind of the resource.CheckSkuAvailabilityParameter
withSkus(List<String> skus)
Set the skus property: The SKU of the resource.CheckSkuAvailabilityParameter
withType(String type)
Set the type property: The Type of the resource.
-
-
-
Method Detail
-
skus
public List<String> skus()
Get the skus property: The SKU of the resource.- Returns:
- the skus value.
-
withSkus
public CheckSkuAvailabilityParameter withSkus(List<String> skus)
Set the skus property: The SKU of the resource.- Parameters:
skus
- the skus value to set.- Returns:
- the CheckSkuAvailabilityParameter object itself.
-
kind
public String kind()
Get the kind property: The Kind of the resource.- Returns:
- the kind value.
-
withKind
public CheckSkuAvailabilityParameter withKind(String kind)
Set the kind property: The Kind of the resource.- Parameters:
kind
- the kind value to set.- Returns:
- the CheckSkuAvailabilityParameter object itself.
-
type
public String type()
Get the type property: The Type of the resource.- Returns:
- the type value.
-
withType
public CheckSkuAvailabilityParameter withType(String type)
Set the type property: The Type of the resource.- Parameters:
type
- the type value to set.- Returns:
- the CheckSkuAvailabilityParameter object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-