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

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

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

/** Dynatrace account API Key. */
@Immutable
public final class AccountInfoSecureInner {
    /*
     * Account Id of the account this environment is linked to
     */
    @JsonProperty(value = "accountId", access = JsonProperty.Access.WRITE_ONLY)
    private String accountId;

    /*
     * API Key of the user account
     */
    @JsonProperty(value = "apiKey", access = JsonProperty.Access.WRITE_ONLY)
    private String apiKey;

    /*
     * Region in which the account is created
     */
    @JsonProperty(value = "regionId", access = JsonProperty.Access.WRITE_ONLY)
    private String regionId;

    /**
     * Get the accountId property: Account Id of the account this environment is linked to.
     *
     * @return the accountId value.
     */
    public String accountId() {
        return this.accountId;
    }

    /**
     * Get the apiKey property: API Key of the user account.
     *
     * @return the apiKey value.
     */
    public String apiKey() {
        return this.apiKey;
    }

    /**
     * Get the regionId property: Region in which the account is created.
     *
     * @return the regionId value.
     */
    public String regionId() {
        return this.regionId;
    }

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