Class SnapshotSku
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.SnapshotSku
-
public final class SnapshotSku extends Object
The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot.
-
-
Constructor Summary
Constructors Constructor Description SnapshotSku()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnapshotStorageAccountTypesname()Get the name property: The sku name.Stringtier()Get the tier property: The sku tier.voidvalidate()Validates the instance.SnapshotSkuwithName(SnapshotStorageAccountTypes name)Set the name property: The sku name.
-
-
-
Method Detail
-
name
public SnapshotStorageAccountTypes name()
Get the name property: The sku name.- Returns:
- the name value.
-
withName
public SnapshotSku withName(SnapshotStorageAccountTypes name)
Set the name property: The sku name.- Parameters:
name- the name value to set.- Returns:
- the SnapshotSku object itself.
-
tier
public String tier()
Get the tier property: The sku tier.- Returns:
- the tier value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-