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

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

import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.imagebuilder.models.ProvisioningState;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Describes the properties of a run output. */
@Fluent
public final class RunOutputProperties {
    /*
     * The resource id of the artifact.
     */
    @JsonProperty(value = "artifactId")
    private String artifactId;

    /*
     * The location URI of the artifact.
     */
    @JsonProperty(value = "artifactUri")
    private String artifactUri;

    /*
     * Provisioning state of the resource
     */
    @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
    private ProvisioningState provisioningState;

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

    /**
     * Get the artifactId property: The resource id of the artifact.
     *
     * @return the artifactId value.
     */
    public String artifactId() {
        return this.artifactId;
    }

    /**
     * Set the artifactId property: The resource id of the artifact.
     *
     * @param artifactId the artifactId value to set.
     * @return the RunOutputProperties object itself.
     */
    public RunOutputProperties withArtifactId(String artifactId) {
        this.artifactId = artifactId;
        return this;
    }

    /**
     * Get the artifactUri property: The location URI of the artifact.
     *
     * @return the artifactUri value.
     */
    public String artifactUri() {
        return this.artifactUri;
    }

    /**
     * Set the artifactUri property: The location URI of the artifact.
     *
     * @param artifactUri the artifactUri value to set.
     * @return the RunOutputProperties object itself.
     */
    public RunOutputProperties withArtifactUri(String artifactUri) {
        this.artifactUri = artifactUri;
        return this;
    }

    /**
     * Get the provisioningState property: Provisioning state of the resource.
     *
     * @return the provisioningState value.
     */
    public ProvisioningState provisioningState() {
        return this.provisioningState;
    }

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