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

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** The properties of a service topology. */
@Fluent
public class ServiceTopologyProperties {
    /*
     * The resource Id of the artifact source that contains the artifacts that can be referenced in the service units.
     */
    @JsonProperty(value = "artifactSourceId")
    private String artifactSourceId;

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

    /**
     * Get the artifactSourceId property: The resource Id of the artifact source that contains the artifacts that can be
     * referenced in the service units.
     *
     * @return the artifactSourceId value.
     */
    public String artifactSourceId() {
        return this.artifactSourceId;
    }

    /**
     * Set the artifactSourceId property: The resource Id of the artifact source that contains the artifacts that can be
     * referenced in the service units.
     *
     * @param artifactSourceId the artifactSourceId value to set.
     * @return the ServiceTopologyProperties object itself.
     */
    public ServiceTopologyProperties withArtifactSourceId(String artifactSourceId) {
        this.artifactSourceId = artifactSourceId;
        return this;
    }

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