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

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

    /** {@inheritDoc} */
    @Override
    public ResourceTypeRegistrationPropertiesSubscriptionLifecycleNotificationSpecifications
        withSubscriptionStateOverrideActions(List<SubscriptionStateOverrideAction> subscriptionStateOverrideActions) {
        super.withSubscriptionStateOverrideActions(subscriptionStateOverrideActions);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public ResourceTypeRegistrationPropertiesSubscriptionLifecycleNotificationSpecifications withSoftDeleteTtl(
        Duration softDeleteTtl) {
        super.withSoftDeleteTtl(softDeleteTtl);
        return this;
    }

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