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

package com.azure.resourcemanager.dataprotection.models;

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

/**
 * AdhocBackupTriggerOption
 *
 * <p>Adhoc backup trigger option.
 */
@Fluent
public final class AdhocBackupTriggerOption {
    /*
     * The retentionTagOverride property.
     */
    @JsonProperty(value = "retentionTagOverride")
    private String retentionTagOverride;

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

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

    /**
     * Set the retentionTagOverride property: The retentionTagOverride property.
     *
     * @param retentionTagOverride the retentionTagOverride value to set.
     * @return the AdhocBackupTriggerOption object itself.
     */
    public AdhocBackupTriggerOption withRetentionTagOverride(String retentionTagOverride) {
        this.retentionTagOverride = retentionTagOverride;
        return this;
    }

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