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

import com.azure.resourcemanager.streamanalytics.fluent.models.ClusterJobInner;
import com.azure.resourcemanager.streamanalytics.models.ClusterJob;
import com.azure.resourcemanager.streamanalytics.models.JobState;

public final class ClusterJobImpl implements ClusterJob {
    private ClusterJobInner innerObject;

    private final com.azure.resourcemanager.streamanalytics.StreamAnalyticsManager serviceManager;

    ClusterJobImpl(
        ClusterJobInner innerObject, com.azure.resourcemanager.streamanalytics.StreamAnalyticsManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

    public String id() {
        return this.innerModel().id();
    }

    public Integer streamingUnits() {
        return this.innerModel().streamingUnits();
    }

    public JobState jobState() {
        return this.innerModel().jobState();
    }

    public ClusterJobInner innerModel() {
        return this.innerObject;
    }

    private com.azure.resourcemanager.streamanalytics.StreamAnalyticsManager manager() {
        return this.serviceManager;
    }
}
