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

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

import com.azure.core.annotation.Immutable;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.streamanalytics.models.JobState;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

/** A streaming job. */
@Immutable
public final class ClusterJobInner {
    @JsonIgnore private final ClientLogger logger = new ClientLogger(ClusterJobInner.class);

    /*
     * Resource ID of the streaming job.
     */
    @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY)
    private String id;

    /*
     * The number of streaming units that are used by the streaming job.
     */
    @JsonProperty(value = "streamingUnits", access = JsonProperty.Access.WRITE_ONLY)
    private Integer streamingUnits;

    /*
     * The current execution state of the streaming job.
     */
    @JsonProperty(value = "jobState", access = JsonProperty.Access.WRITE_ONLY)
    private JobState jobState;

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

    /**
     * Get the streamingUnits property: The number of streaming units that are used by the streaming job.
     *
     * @return the streamingUnits value.
     */
    public Integer streamingUnits() {
        return this.streamingUnits;
    }

    /**
     * Get the jobState property: The current execution state of the streaming job.
     *
     * @return the jobState value.
     */
    public JobState jobState() {
        return this.jobState;
    }

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