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

com.pulumi.azurenative.iotoperations.outputs.DataFlowProfilePropertiesResponse 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.iotoperations.outputs;

import com.pulumi.azurenative.iotoperations.outputs.ProfileDiagnosticsResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class DataFlowProfilePropertiesResponse {
    /**
     * @return Spec defines the desired identities of NBC diagnostics settings.
     * 
     */
    private @Nullable ProfileDiagnosticsResponse diagnostics;
    /**
     * @return To manually scale the dataflow profile, specify the maximum number of instances you want to run.
     * 
     */
    private @Nullable Integer instanceCount;
    /**
     * @return The status of the last operation.
     * 
     */
    private String provisioningState;

    private DataFlowProfilePropertiesResponse() {}
    /**
     * @return Spec defines the desired identities of NBC diagnostics settings.
     * 
     */
    public Optional diagnostics() {
        return Optional.ofNullable(this.diagnostics);
    }
    /**
     * @return To manually scale the dataflow profile, specify the maximum number of instances you want to run.
     * 
     */
    public Optional instanceCount() {
        return Optional.ofNullable(this.instanceCount);
    }
    /**
     * @return The status of the last operation.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }

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

    public static Builder builder(DataFlowProfilePropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable ProfileDiagnosticsResponse diagnostics;
        private @Nullable Integer instanceCount;
        private String provisioningState;
        public Builder() {}
        public Builder(DataFlowProfilePropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.diagnostics = defaults.diagnostics;
    	      this.instanceCount = defaults.instanceCount;
    	      this.provisioningState = defaults.provisioningState;
        }

        @CustomType.Setter
        public Builder diagnostics(@Nullable ProfileDiagnosticsResponse diagnostics) {

            this.diagnostics = diagnostics;
            return this;
        }
        @CustomType.Setter
        public Builder instanceCount(@Nullable Integer instanceCount) {

            this.instanceCount = instanceCount;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("DataFlowProfilePropertiesResponse", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        public DataFlowProfilePropertiesResponse build() {
            final var _resultValue = new DataFlowProfilePropertiesResponse();
            _resultValue.diagnostics = diagnostics;
            _resultValue.instanceCount = instanceCount;
            _resultValue.provisioningState = provisioningState;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy