DiskSku.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.compute.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
/** The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS. */
@Fluent
public final class DiskSku {
@JsonIgnore private final ClientLogger logger = new ClientLogger(DiskSku.class);
/*
* The sku name.
*/
@JsonProperty(value = "name")
private DiskStorageAccountTypes name;
/*
* The sku tier.
*/
@JsonProperty(value = "tier", access = JsonProperty.Access.WRITE_ONLY)
private String tier;
/**
* Get the name property: The sku name.
*
* @return the name value.
*/
public DiskStorageAccountTypes name() {
return this.name;
}
/**
* Set the name property: The sku name.
*
* @param name the name value to set.
* @return the DiskSku object itself.
*/
public DiskSku withName(DiskStorageAccountTypes name) {
this.name = name;
return this;
}
/**
* Get the tier property: The sku tier.
*
* @return the tier value.
*/
public String tier() {
return this.tier;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}