Class ResourceSkuCapabilities
java.lang.Object
com.azure.resourcemanager.storagecache.models.ResourceSkuCapabilities
A resource SKU capability.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionname()
Get the name property: Name of a capability, such as ops/sec.void
validate()
Validates the instance.value()
Get the value property: Quantity, if the capability is measured by quantity.Set the name property: Name of a capability, such as ops/sec.Set the value property: Quantity, if the capability is measured by quantity.
-
Constructor Details
-
ResourceSkuCapabilities
public ResourceSkuCapabilities()
-
-
Method Details
-
name
Get the name property: Name of a capability, such as ops/sec.- Returns:
- the name value.
-
withName
Set the name property: Name of a capability, such as ops/sec.- Parameters:
name
- the name value to set.- Returns:
- the ResourceSkuCapabilities object itself.
-
value
Get the value property: Quantity, if the capability is measured by quantity.- Returns:
- the value value.
-
withValue
Set the value property: Quantity, if the capability is measured by quantity.- Parameters:
value
- the value value to set.- Returns:
- the ResourceSkuCapabilities object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-