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

package com.azure.analytics.synapse.artifacts.models;

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

/** Compute properties for data flow activity. */
@Fluent
public final class ExecuteDataFlowActivityTypePropertiesCompute {
    /*
     * Compute type of the cluster which will execute data flow job.
     */
    @JsonProperty(value = "computeType")
    private DataFlowComputeType computeType;

    /*
     * Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, 48, 80, 144 and
     * 272.
     */
    @JsonProperty(value = "coreCount")
    private Integer coreCount;

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

    /**
     * Get the computeType property: Compute type of the cluster which will execute data flow job.
     *
     * @return the computeType value.
     */
    public DataFlowComputeType getComputeType() {
        return this.computeType;
    }

    /**
     * Set the computeType property: Compute type of the cluster which will execute data flow job.
     *
     * @param computeType the computeType value to set.
     * @return the ExecuteDataFlowActivityTypePropertiesCompute object itself.
     */
    public ExecuteDataFlowActivityTypePropertiesCompute setComputeType(DataFlowComputeType computeType) {
        this.computeType = computeType;
        return this;
    }

    /**
     * Get the coreCount property: Core count of the cluster which will execute data flow job. Supported values are: 8,
     * 16, 32, 48, 80, 144 and 272.
     *
     * @return the coreCount value.
     */
    public Integer getCoreCount() {
        return this.coreCount;
    }

    /**
     * Set the coreCount property: Core count of the cluster which will execute data flow job. Supported values are: 8,
     * 16, 32, 48, 80, 144 and 272.
     *
     * @param coreCount the coreCount value to set.
     * @return the ExecuteDataFlowActivityTypePropertiesCompute object itself.
     */
    public ExecuteDataFlowActivityTypePropertiesCompute setCoreCount(Integer coreCount) {
        this.coreCount = coreCount;
        return this;
    }
}
