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

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

/** The OperationMetaMetricAvailabilitiesSpecification model. */
@Fluent
public final class OperationMetaMetricAvailabilitiesSpecification {
    /*
     * The timegrain for OperationMetaMetricAvailabilitiesSpecification.
     */
    @JsonProperty(value = "timeGrain")
    private String timeGrain;

    /*
     * The blobDuration for OperationMetaMetricAvailabilitiesSpecification.
     */
    @JsonProperty(value = "blobDuration")
    private String blobDuration;

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

    /**
     * Get the timeGrain property: The timegrain for OperationMetaMetricAvailabilitiesSpecification.
     *
     * @return the timeGrain value.
     */
    public String timeGrain() {
        return this.timeGrain;
    }

    /**
     * Set the timeGrain property: The timegrain for OperationMetaMetricAvailabilitiesSpecification.
     *
     * @param timeGrain the timeGrain value to set.
     * @return the OperationMetaMetricAvailabilitiesSpecification object itself.
     */
    public OperationMetaMetricAvailabilitiesSpecification withTimeGrain(String timeGrain) {
        this.timeGrain = timeGrain;
        return this;
    }

    /**
     * Get the blobDuration property: The blobDuration for OperationMetaMetricAvailabilitiesSpecification.
     *
     * @return the blobDuration value.
     */
    public String blobDuration() {
        return this.blobDuration;
    }

    /**
     * Set the blobDuration property: The blobDuration for OperationMetaMetricAvailabilitiesSpecification.
     *
     * @param blobDuration the blobDuration value to set.
     * @return the OperationMetaMetricAvailabilitiesSpecification object itself.
     */
    public OperationMetaMetricAvailabilitiesSpecification withBlobDuration(String blobDuration) {
        this.blobDuration = blobDuration;
        return this;
    }

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