All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.synapse.SqlPoolWorkloadClassifierArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.synapse;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class SqlPoolWorkloadClassifierArgs extends com.pulumi.resources.ResourceArgs {

    public static final SqlPoolWorkloadClassifierArgs Empty = new SqlPoolWorkloadClassifierArgs();

    /**
     * The workload classifier context.
     * 
     */
    @Import(name="context")
    private @Nullable Output context;

    /**
     * @return The workload classifier context.
     * 
     */
    public Optional> context() {
        return Optional.ofNullable(this.context);
    }

    /**
     * The workload classifier end time for classification.
     * 
     */
    @Import(name="endTime")
    private @Nullable Output endTime;

    /**
     * @return The workload classifier end time for classification.
     * 
     */
    public Optional> endTime() {
        return Optional.ofNullable(this.endTime);
    }

    /**
     * The workload classifier importance.
     * 
     */
    @Import(name="importance")
    private @Nullable Output importance;

    /**
     * @return The workload classifier importance.
     * 
     */
    public Optional> importance() {
        return Optional.ofNullable(this.importance);
    }

    /**
     * The workload classifier label.
     * 
     */
    @Import(name="label")
    private @Nullable Output label;

    /**
     * @return The workload classifier label.
     * 
     */
    public Optional> label() {
        return Optional.ofNullable(this.label);
    }

    /**
     * The workload classifier member name.
     * 
     */
    @Import(name="memberName", required=true)
    private Output memberName;

    /**
     * @return The workload classifier member name.
     * 
     */
    public Output memberName() {
        return this.memberName;
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * SQL pool name
     * 
     */
    @Import(name="sqlPoolName", required=true)
    private Output sqlPoolName;

    /**
     * @return SQL pool name
     * 
     */
    public Output sqlPoolName() {
        return this.sqlPoolName;
    }

    /**
     * The workload classifier start time for classification.
     * 
     */
    @Import(name="startTime")
    private @Nullable Output startTime;

    /**
     * @return The workload classifier start time for classification.
     * 
     */
    public Optional> startTime() {
        return Optional.ofNullable(this.startTime);
    }

    /**
     * The name of the workload classifier.
     * 
     */
    @Import(name="workloadClassifierName")
    private @Nullable Output workloadClassifierName;

    /**
     * @return The name of the workload classifier.
     * 
     */
    public Optional> workloadClassifierName() {
        return Optional.ofNullable(this.workloadClassifierName);
    }

    /**
     * The name of the workload group.
     * 
     */
    @Import(name="workloadGroupName", required=true)
    private Output workloadGroupName;

    /**
     * @return The name of the workload group.
     * 
     */
    public Output workloadGroupName() {
        return this.workloadGroupName;
    }

    /**
     * The name of the workspace.
     * 
     */
    @Import(name="workspaceName", required=true)
    private Output workspaceName;

    /**
     * @return The name of the workspace.
     * 
     */
    public Output workspaceName() {
        return this.workspaceName;
    }

    private SqlPoolWorkloadClassifierArgs() {}

    private SqlPoolWorkloadClassifierArgs(SqlPoolWorkloadClassifierArgs $) {
        this.context = $.context;
        this.endTime = $.endTime;
        this.importance = $.importance;
        this.label = $.label;
        this.memberName = $.memberName;
        this.resourceGroupName = $.resourceGroupName;
        this.sqlPoolName = $.sqlPoolName;
        this.startTime = $.startTime;
        this.workloadClassifierName = $.workloadClassifierName;
        this.workloadGroupName = $.workloadGroupName;
        this.workspaceName = $.workspaceName;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(SqlPoolWorkloadClassifierArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private SqlPoolWorkloadClassifierArgs $;

        public Builder() {
            $ = new SqlPoolWorkloadClassifierArgs();
        }

        public Builder(SqlPoolWorkloadClassifierArgs defaults) {
            $ = new SqlPoolWorkloadClassifierArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param context The workload classifier context.
         * 
         * @return builder
         * 
         */
        public Builder context(@Nullable Output context) {
            $.context = context;
            return this;
        }

        /**
         * @param context The workload classifier context.
         * 
         * @return builder
         * 
         */
        public Builder context(String context) {
            return context(Output.of(context));
        }

        /**
         * @param endTime The workload classifier end time for classification.
         * 
         * @return builder
         * 
         */
        public Builder endTime(@Nullable Output endTime) {
            $.endTime = endTime;
            return this;
        }

        /**
         * @param endTime The workload classifier end time for classification.
         * 
         * @return builder
         * 
         */
        public Builder endTime(String endTime) {
            return endTime(Output.of(endTime));
        }

        /**
         * @param importance The workload classifier importance.
         * 
         * @return builder
         * 
         */
        public Builder importance(@Nullable Output importance) {
            $.importance = importance;
            return this;
        }

        /**
         * @param importance The workload classifier importance.
         * 
         * @return builder
         * 
         */
        public Builder importance(String importance) {
            return importance(Output.of(importance));
        }

        /**
         * @param label The workload classifier label.
         * 
         * @return builder
         * 
         */
        public Builder label(@Nullable Output label) {
            $.label = label;
            return this;
        }

        /**
         * @param label The workload classifier label.
         * 
         * @return builder
         * 
         */
        public Builder label(String label) {
            return label(Output.of(label));
        }

        /**
         * @param memberName The workload classifier member name.
         * 
         * @return builder
         * 
         */
        public Builder memberName(Output memberName) {
            $.memberName = memberName;
            return this;
        }

        /**
         * @param memberName The workload classifier member name.
         * 
         * @return builder
         * 
         */
        public Builder memberName(String memberName) {
            return memberName(Output.of(memberName));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param sqlPoolName SQL pool name
         * 
         * @return builder
         * 
         */
        public Builder sqlPoolName(Output sqlPoolName) {
            $.sqlPoolName = sqlPoolName;
            return this;
        }

        /**
         * @param sqlPoolName SQL pool name
         * 
         * @return builder
         * 
         */
        public Builder sqlPoolName(String sqlPoolName) {
            return sqlPoolName(Output.of(sqlPoolName));
        }

        /**
         * @param startTime The workload classifier start time for classification.
         * 
         * @return builder
         * 
         */
        public Builder startTime(@Nullable Output startTime) {
            $.startTime = startTime;
            return this;
        }

        /**
         * @param startTime The workload classifier start time for classification.
         * 
         * @return builder
         * 
         */
        public Builder startTime(String startTime) {
            return startTime(Output.of(startTime));
        }

        /**
         * @param workloadClassifierName The name of the workload classifier.
         * 
         * @return builder
         * 
         */
        public Builder workloadClassifierName(@Nullable Output workloadClassifierName) {
            $.workloadClassifierName = workloadClassifierName;
            return this;
        }

        /**
         * @param workloadClassifierName The name of the workload classifier.
         * 
         * @return builder
         * 
         */
        public Builder workloadClassifierName(String workloadClassifierName) {
            return workloadClassifierName(Output.of(workloadClassifierName));
        }

        /**
         * @param workloadGroupName The name of the workload group.
         * 
         * @return builder
         * 
         */
        public Builder workloadGroupName(Output workloadGroupName) {
            $.workloadGroupName = workloadGroupName;
            return this;
        }

        /**
         * @param workloadGroupName The name of the workload group.
         * 
         * @return builder
         * 
         */
        public Builder workloadGroupName(String workloadGroupName) {
            return workloadGroupName(Output.of(workloadGroupName));
        }

        /**
         * @param workspaceName The name of the workspace.
         * 
         * @return builder
         * 
         */
        public Builder workspaceName(Output workspaceName) {
            $.workspaceName = workspaceName;
            return this;
        }

        /**
         * @param workspaceName The name of the workspace.
         * 
         * @return builder
         * 
         */
        public Builder workspaceName(String workspaceName) {
            return workspaceName(Output.of(workspaceName));
        }

        public SqlPoolWorkloadClassifierArgs build() {
            if ($.memberName == null) {
                throw new MissingRequiredPropertyException("SqlPoolWorkloadClassifierArgs", "memberName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("SqlPoolWorkloadClassifierArgs", "resourceGroupName");
            }
            if ($.sqlPoolName == null) {
                throw new MissingRequiredPropertyException("SqlPoolWorkloadClassifierArgs", "sqlPoolName");
            }
            if ($.workloadGroupName == null) {
                throw new MissingRequiredPropertyException("SqlPoolWorkloadClassifierArgs", "workloadGroupName");
            }
            if ($.workspaceName == null) {
                throw new MissingRequiredPropertyException("SqlPoolWorkloadClassifierArgs", "workspaceName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy