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

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

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

/** List of all the New relic accounts for the given user. */
@Fluent
public final class AccountProperties {
    /*
     * organization id
     */
    @JsonProperty(value = "organizationId")
    private String organizationId;

    /*
     * account id
     */
    @JsonProperty(value = "accountId")
    private String accountId;

    /*
     * account name
     */
    @JsonProperty(value = "accountName")
    private String accountName;

    /*
     * region
     */
    @JsonProperty(value = "region")
    private String region;

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

    /**
     * Get the organizationId property: organization id.
     *
     * @return the organizationId value.
     */
    public String organizationId() {
        return this.organizationId;
    }

    /**
     * Set the organizationId property: organization id.
     *
     * @param organizationId the organizationId value to set.
     * @return the AccountProperties object itself.
     */
    public AccountProperties withOrganizationId(String organizationId) {
        this.organizationId = organizationId;
        return this;
    }

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

    /**
     * Set the accountId property: account id.
     *
     * @param accountId the accountId value to set.
     * @return the AccountProperties object itself.
     */
    public AccountProperties withAccountId(String accountId) {
        this.accountId = accountId;
        return this;
    }

    /**
     * Get the accountName property: account name.
     *
     * @return the accountName value.
     */
    public String accountName() {
        return this.accountName;
    }

    /**
     * Set the accountName property: account name.
     *
     * @param accountName the accountName value to set.
     * @return the AccountProperties object itself.
     */
    public AccountProperties withAccountName(String accountName) {
        this.accountName = accountName;
        return this;
    }

    /**
     * Get the region property: region.
     *
     * @return the region value.
     */
    public String region() {
        return this.region;
    }

    /**
     * Set the region property: region.
     *
     * @param region the region value to set.
     * @return the AccountProperties object itself.
     */
    public AccountProperties withRegion(String region) {
        this.region = region;
        return this;
    }

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