// 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.models;

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

/** Dynatrace Account Information. */
@Fluent
public final class AccountInfo {
    /*
     * Account Id of the account this environment is linked to
     */
    @JsonProperty(value = "accountId")
    private String accountId;

    /*
     * Region in which the account is created
     */
    @JsonProperty(value = "regionId")
    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;
    }

    /**
     * Set the accountId property: Account Id of the account this environment is linked to.
     *
     * @param accountId the accountId value to set.
     * @return the AccountInfo object itself.
     */
    public AccountInfo withAccountId(String accountId) {
        this.accountId = accountId;
        return this;
    }

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

    /**
     * Set the regionId property: Region in which the account is created.
     *
     * @param regionId the regionId value to set.
     * @return the AccountInfo object itself.
     */
    public AccountInfo withRegionId(String regionId) {
        this.regionId = regionId;
        return this;
    }

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