Class ResourceSkuCapabilities
- java.lang.Object
-
- com.azure.resourcemanager.storagecache.models.ResourceSkuCapabilities
-
public final class ResourceSkuCapabilities extends Object
A resource SKU capability.
-
-
Constructor Summary
Constructors Constructor Description ResourceSkuCapabilities()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Get the name property: Name of a capability, such as ops/sec.void
validate()
Validates the instance.String
value()
Get the value property: Quantity, if the capability is measured by quantity.ResourceSkuCapabilities
withName(String name)
Set the name property: Name of a capability, such as ops/sec.ResourceSkuCapabilities
withValue(String value)
Set the value property: Quantity, if the capability is measured by quantity.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Name of a capability, such as ops/sec.- Returns:
- the name value.
-
withName
public ResourceSkuCapabilities withName(String name)
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
public String value()
Get the value property: Quantity, if the capability is measured by quantity.- Returns:
- the value value.
-
withValue
public ResourceSkuCapabilities withValue(String value)
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.
-
-