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

package com.azure.resourcemanager.purview.models;

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

/** properties for dimension. */
@Fluent
public final class DimensionProperties {
    /*
     * localized display name of the dimension to customer
     */
    @JsonProperty(value = "displayName")
    private String displayName;

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

    /*
     * flag indicating whether this dimension should be included to the customer in Azure Monitor logs (aka Shoebox)
     */
    @JsonProperty(value = "toBeExportedForCustomer")
    private Boolean toBeExportedForCustomer;

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

    /**
     * Get the displayName property: localized display name of the dimension to customer.
     *
     * @return the displayName value.
     */
    public String displayName() {
        return this.displayName;
    }

    /**
     * Set the displayName property: localized display name of the dimension to customer.
     *
     * @param displayName the displayName value to set.
     * @return the DimensionProperties object itself.
     */
    public DimensionProperties withDisplayName(String displayName) {
        this.displayName = displayName;
        return this;
    }

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

    /**
     * Set the name property: dimension name.
     *
     * @param name the name value to set.
     * @return the DimensionProperties object itself.
     */
    public DimensionProperties withName(String name) {
        this.name = name;
        return this;
    }

    /**
     * Get the toBeExportedForCustomer property: flag indicating whether this dimension should be included to the
     * customer in Azure Monitor logs (aka Shoebox).
     *
     * @return the toBeExportedForCustomer value.
     */
    public Boolean toBeExportedForCustomer() {
        return this.toBeExportedForCustomer;
    }

    /**
     * Set the toBeExportedForCustomer property: flag indicating whether this dimension should be included to the
     * customer in Azure Monitor logs (aka Shoebox).
     *
     * @param toBeExportedForCustomer the toBeExportedForCustomer value to set.
     * @return the DimensionProperties object itself.
     */
    public DimensionProperties withToBeExportedForCustomer(Boolean toBeExportedForCustomer) {
        this.toBeExportedForCustomer = toBeExportedForCustomer;
        return this;
    }

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