Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.compute; import com.fasterxml.jackson.annotation.JsonProperty;
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.
/** * 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. */
public class SnapshotSku {
The sku name. Possible values include: 'Standard_LRS', 'Premium_LRS', 'Standard_ZRS'.
/** * The sku name. Possible values include: 'Standard_LRS', 'Premium_LRS', * 'Standard_ZRS'. */
@JsonProperty(value = "name") private SnapshotStorageAccountTypes name;
The sku tier.
/** * The sku tier. */
@JsonProperty(value = "tier", access = JsonProperty.Access.WRITE_ONLY) private String tier;
Get the sku name. Possible values include: 'Standard_LRS', 'Premium_LRS', 'Standard_ZRS'.
Returns:the name value
/** * Get the sku name. Possible values include: 'Standard_LRS', 'Premium_LRS', 'Standard_ZRS'. * * @return the name value */
public SnapshotStorageAccountTypes name() { return this.name; }
Set the sku name. Possible values include: 'Standard_LRS', 'Premium_LRS', 'Standard_ZRS'.
Params:
  • name – the name value to set
Returns:the SnapshotSku object itself.
/** * Set the sku name. Possible values include: 'Standard_LRS', 'Premium_LRS', 'Standard_ZRS'. * * @param name the name value to set * @return the SnapshotSku object itself. */
public SnapshotSku withName(SnapshotStorageAccountTypes name) { this.name = name; return this; }
Get the sku tier.
Returns:the tier value
/** * Get the sku tier. * * @return the tier value */
public String tier() { return this.tier; } }