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

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

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

/** The Azure Storage account properties to use when updating an Azure Storage account. */
@Fluent
public final class UpdateStorageAccountProperties {
    /*
     * The updated access key associated with this Azure Storage account that will be used to connect to it.
     */
    @JsonProperty(value = "accessKey")
    private String accessKey;

    /*
     * The optional suffix for the storage account.
     */
    @JsonProperty(value = "suffix")
    private String suffix;

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

    /**
     * Get the accessKey property: The updated access key associated with this Azure Storage account that will be used
     * to connect to it.
     *
     * @return the accessKey value.
     */
    public String accessKey() {
        return this.accessKey;
    }

    /**
     * Set the accessKey property: The updated access key associated with this Azure Storage account that will be used
     * to connect to it.
     *
     * @param accessKey the accessKey value to set.
     * @return the UpdateStorageAccountProperties object itself.
     */
    public UpdateStorageAccountProperties withAccessKey(String accessKey) {
        this.accessKey = accessKey;
        return this;
    }

    /**
     * Get the suffix property: The optional suffix for the storage account.
     *
     * @return the suffix value.
     */
    public String suffix() {
        return this.suffix;
    }

    /**
     * Set the suffix property: The optional suffix for the storage account.
     *
     * @param suffix the suffix value to set.
     * @return the UpdateStorageAccountProperties object itself.
     */
    public UpdateStorageAccountProperties withSuffix(String suffix) {
        this.suffix = suffix;
        return this;
    }

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