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

package com.azure.resourcemanager.networkfunction.models;

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

/** Ingestion policy properties. */
@Fluent
public final class IngestionSourcesPropertiesFormat {
    /*
     * Ingestion source type.
     */
    @JsonProperty(value = "sourceType")
    private SourceType sourceType;

    /*
     * Resource ID.
     */
    @JsonProperty(value = "resourceId")
    private String resourceId;

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

    /**
     * Get the sourceType property: Ingestion source type.
     *
     * @return the sourceType value.
     */
    public SourceType sourceType() {
        return this.sourceType;
    }

    /**
     * Set the sourceType property: Ingestion source type.
     *
     * @param sourceType the sourceType value to set.
     * @return the IngestionSourcesPropertiesFormat object itself.
     */
    public IngestionSourcesPropertiesFormat withSourceType(SourceType sourceType) {
        this.sourceType = sourceType;
        return this;
    }

    /**
     * Get the resourceId property: Resource ID.
     *
     * @return the resourceId value.
     */
    public String resourceId() {
        return this.resourceId;
    }

    /**
     * Set the resourceId property: Resource ID.
     *
     * @param resourceId the resourceId value to set.
     * @return the IngestionSourcesPropertiesFormat object itself.
     */
    public IngestionSourcesPropertiesFormat withResourceId(String resourceId) {
        this.resourceId = resourceId;
        return this;
    }

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