// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.storagepool.fluent.models;

import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** Disk Pool SKU Details. */
@Immutable
public final class DiskPoolZoneInfoInner {
    /*
     * Logical zone for Disk Pool resource; example: ["1"].
     */
    @JsonProperty(value = "availabilityZones", access = JsonProperty.Access.WRITE_ONLY)
    private List<String> availabilityZones;

    /*
     * List of additional capabilities for Disk Pool.
     */
    @JsonProperty(value = "additionalCapabilities", access = JsonProperty.Access.WRITE_ONLY)
    private List<String> additionalCapabilities;

    /*
     * Determines the SKU of VM deployed for Disk Pool
     */
    @JsonProperty(value = "sku", access = JsonProperty.Access.WRITE_ONLY)
    private Sku sku;

    /** Creates an instance of DiskPoolZoneInfoInner class. */
    public DiskPoolZoneInfoInner() {
    }

    /**
     * Get the availabilityZones property: Logical zone for Disk Pool resource; example: ["1"].
     *
     * @return the availabilityZones value.
     */
    public List<String> availabilityZones() {
        return this.availabilityZones;
    }

    /**
     * Get the additionalCapabilities property: List of additional capabilities for Disk Pool.
     *
     * @return the additionalCapabilities value.
     */
    public List<String> additionalCapabilities() {
        return this.additionalCapabilities;
    }

    /**
     * Get the sku property: Determines the SKU of VM deployed for Disk Pool.
     *
     * @return the sku value.
     */
    public Sku sku() {
        return this.sku;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
        if (sku() != null) {
            sku().validate();
        }
    }
}
