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

/** CrossSubscriptionRestore Settings. */
@Fluent
public final class CrossSubscriptionRestoreSettings {
    /*
     * CrossSubscriptionRestore state
     */
    @JsonProperty(value = "state")
    private CrossSubscriptionRestoreState state;

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

    /**
     * Get the state property: CrossSubscriptionRestore state.
     *
     * @return the state value.
     */
    public CrossSubscriptionRestoreState state() {
        return this.state;
    }

    /**
     * Set the state property: CrossSubscriptionRestore state.
     *
     * @param state the state value to set.
     * @return the CrossSubscriptionRestoreSettings object itself.
     */
    public CrossSubscriptionRestoreSettings withState(CrossSubscriptionRestoreState state) {
        this.state = state;
        return this;
    }

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