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

package com.azure.resourcemanager.providerhub.models;

import com.azure.core.annotation.Fluent;

/** The ResourceTypeRegistrationPropertiesResourceMovePolicy model. */
@Fluent
public final class ResourceTypeRegistrationPropertiesResourceMovePolicy extends ResourceMovePolicy {
    /** Creates an instance of ResourceTypeRegistrationPropertiesResourceMovePolicy class. */
    public ResourceTypeRegistrationPropertiesResourceMovePolicy() {
    }

    /** {@inheritDoc} */
    @Override
    public ResourceTypeRegistrationPropertiesResourceMovePolicy withValidationRequired(Boolean validationRequired) {
        super.withValidationRequired(validationRequired);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public ResourceTypeRegistrationPropertiesResourceMovePolicy withCrossResourceGroupMoveEnabled(
        Boolean crossResourceGroupMoveEnabled) {
        super.withCrossResourceGroupMoveEnabled(crossResourceGroupMoveEnabled);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public ResourceTypeRegistrationPropertiesResourceMovePolicy withCrossSubscriptionMoveEnabled(
        Boolean crossSubscriptionMoveEnabled) {
        super.withCrossSubscriptionMoveEnabled(crossSubscriptionMoveEnabled);
        return this;
    }

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