// 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;
import java.util.List;

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

    /** {@inheritDoc} */
    @Override
    public ResourceTypeRegistrationPropertiesCheckNameAvailabilitySpecifications withEnableDefaultValidation(
        Boolean enableDefaultValidation) {
        super.withEnableDefaultValidation(enableDefaultValidation);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public ResourceTypeRegistrationPropertiesCheckNameAvailabilitySpecifications withResourceTypesWithCustomValidation(
        List<String> resourceTypesWithCustomValidation) {
        super.withResourceTypesWithCustomValidation(resourceTypesWithCustomValidation);
        return this;
    }

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