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

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

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Common Properties shared by Mixed Reality Accounts. */
@Fluent
public final class MixedRealityAccountProperties {
    /*
     * The name of the storage account associated with this accountId
     */
    @JsonProperty(value = "storageAccountName")
    private String storageAccountName;

    /*
     * unique id of certain account.
     */
    @JsonProperty(value = "accountId", access = JsonProperty.Access.WRITE_ONLY)
    private String accountId;

    /*
     * Correspond domain name of certain Spatial Anchors Account
     */
    @JsonProperty(value = "accountDomain", access = JsonProperty.Access.WRITE_ONLY)
    private String accountDomain;

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

    /**
     * Get the storageAccountName property: The name of the storage account associated with this accountId.
     *
     * @return the storageAccountName value.
     */
    public String storageAccountName() {
        return this.storageAccountName;
    }

    /**
     * Set the storageAccountName property: The name of the storage account associated with this accountId.
     *
     * @param storageAccountName the storageAccountName value to set.
     * @return the MixedRealityAccountProperties object itself.
     */
    public MixedRealityAccountProperties withStorageAccountName(String storageAccountName) {
        this.storageAccountName = storageAccountName;
        return this;
    }

    /**
     * Get the accountId property: unique id of certain account.
     *
     * @return the accountId value.
     */
    public String accountId() {
        return this.accountId;
    }

    /**
     * Get the accountDomain property: Correspond domain name of certain Spatial Anchors Account.
     *
     * @return the accountDomain value.
     */
    public String accountDomain() {
        return this.accountDomain;
    }

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