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

com.pulumi.azurenative.streamanalytics.outputs.ClusterJobResponse Maven / Gradle / Ivy

There is a newer version: 2.72.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.streamanalytics.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class ClusterJobResponse {
    /**
     * @return Resource ID of the streaming job.
     * 
     */
    private String id;
    /**
     * @return The current execution state of the streaming job.
     * 
     */
    private String jobState;
    /**
     * @return The number of streaming units that are used by the streaming job.
     * 
     */
    private Integer streamingUnits;

    private ClusterJobResponse() {}
    /**
     * @return Resource ID of the streaming job.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The current execution state of the streaming job.
     * 
     */
    public String jobState() {
        return this.jobState;
    }
    /**
     * @return The number of streaming units that are used by the streaming job.
     * 
     */
    public Integer streamingUnits() {
        return this.streamingUnits;
    }

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

    public static Builder builder(ClusterJobResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String id;
        private String jobState;
        private Integer streamingUnits;
        public Builder() {}
        public Builder(ClusterJobResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.jobState = defaults.jobState;
    	      this.streamingUnits = defaults.streamingUnits;
        }

        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("ClusterJobResponse", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder jobState(String jobState) {
            if (jobState == null) {
              throw new MissingRequiredPropertyException("ClusterJobResponse", "jobState");
            }
            this.jobState = jobState;
            return this;
        }
        @CustomType.Setter
        public Builder streamingUnits(Integer streamingUnits) {
            if (streamingUnits == null) {
              throw new MissingRequiredPropertyException("ClusterJobResponse", "streamingUnits");
            }
            this.streamingUnits = streamingUnits;
            return this;
        }
        public ClusterJobResponse build() {
            final var _resultValue = new ClusterJobResponse();
            _resultValue.id = id;
            _resultValue.jobState = jobState;
            _resultValue.streamingUnits = streamingUnits;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy