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

package com.azure.resourcemanager.deploymentmanager.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.deploymentmanager.models.ServiceProperties;

/** The properties that define a service in a service topology. */
@Fluent
public final class ServiceResourceProperties extends ServiceProperties {
    /** Creates an instance of ServiceResourceProperties class. */
    public ServiceResourceProperties() {
    }

    /** {@inheritDoc} */
    @Override
    public ServiceResourceProperties withTargetLocation(String targetLocation) {
        super.withTargetLocation(targetLocation);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public ServiceResourceProperties withTargetSubscriptionId(String targetSubscriptionId) {
        super.withTargetSubscriptionId(targetSubscriptionId);
        return this;
    }

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