StorageAccountInfo.java

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.storage.blob.models;

import com.azure.core.annotation.Immutable;

/**
 * This class contains information about the storage account.
 */
@Immutable
public class StorageAccountInfo {
    private final SkuName skuName;
    private final AccountKind accountKind;

    /**
     * Constructs a {@link StorageAccountInfo}.
     *
     * @param skuName SKU of the account.
     * @param accountKind Type of the account.
     */
    public StorageAccountInfo(final SkuName skuName, final AccountKind accountKind) {
        this.skuName = skuName;
        this.accountKind = accountKind;
    }

    /**
     * @return the SKU of the account
     */
    public SkuName getSkuName() {
        return skuName;
    }

    /**
     * @return the type of the account
     */
    public AccountKind getAccountKind() {
        return accountKind;
    }
}