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

com.pulumi.azurenative.datafactory.outputs.IntegrationRuntimeDataFlowPropertiesResponse 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.datafactory.outputs;

import com.pulumi.azurenative.datafactory.outputs.IntegrationRuntimeDataFlowPropertiesResponseCustomProperties;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class IntegrationRuntimeDataFlowPropertiesResponse {
    /**
     * @return Cluster will not be recycled and it will be used in next data flow activity run until TTL (time to live) is reached if this is set as false. Default is true.
     * 
     */
    private @Nullable Boolean cleanup;
    /**
     * @return Compute type of the cluster which will execute data flow job.
     * 
     */
    private @Nullable String computeType;
    /**
     * @return Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, 48, 80, 144 and 272.
     * 
     */
    private @Nullable Integer coreCount;
    /**
     * @return Custom properties are used to tune the data flow runtime performance.
     * 
     */
    private @Nullable List customProperties;
    /**
     * @return Time to live (in minutes) setting of the cluster which will execute data flow job.
     * 
     */
    private @Nullable Integer timeToLive;

    private IntegrationRuntimeDataFlowPropertiesResponse() {}
    /**
     * @return Cluster will not be recycled and it will be used in next data flow activity run until TTL (time to live) is reached if this is set as false. Default is true.
     * 
     */
    public Optional cleanup() {
        return Optional.ofNullable(this.cleanup);
    }
    /**
     * @return Compute type of the cluster which will execute data flow job.
     * 
     */
    public Optional computeType() {
        return Optional.ofNullable(this.computeType);
    }
    /**
     * @return Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, 48, 80, 144 and 272.
     * 
     */
    public Optional coreCount() {
        return Optional.ofNullable(this.coreCount);
    }
    /**
     * @return Custom properties are used to tune the data flow runtime performance.
     * 
     */
    public List customProperties() {
        return this.customProperties == null ? List.of() : this.customProperties;
    }
    /**
     * @return Time to live (in minutes) setting of the cluster which will execute data flow job.
     * 
     */
    public Optional timeToLive() {
        return Optional.ofNullable(this.timeToLive);
    }

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

    public static Builder builder(IntegrationRuntimeDataFlowPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Boolean cleanup;
        private @Nullable String computeType;
        private @Nullable Integer coreCount;
        private @Nullable List customProperties;
        private @Nullable Integer timeToLive;
        public Builder() {}
        public Builder(IntegrationRuntimeDataFlowPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.cleanup = defaults.cleanup;
    	      this.computeType = defaults.computeType;
    	      this.coreCount = defaults.coreCount;
    	      this.customProperties = defaults.customProperties;
    	      this.timeToLive = defaults.timeToLive;
        }

        @CustomType.Setter
        public Builder cleanup(@Nullable Boolean cleanup) {

            this.cleanup = cleanup;
            return this;
        }
        @CustomType.Setter
        public Builder computeType(@Nullable String computeType) {

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

            this.coreCount = coreCount;
            return this;
        }
        @CustomType.Setter
        public Builder customProperties(@Nullable List customProperties) {

            this.customProperties = customProperties;
            return this;
        }
        public Builder customProperties(IntegrationRuntimeDataFlowPropertiesResponseCustomProperties... customProperties) {
            return customProperties(List.of(customProperties));
        }
        @CustomType.Setter
        public Builder timeToLive(@Nullable Integer timeToLive) {

            this.timeToLive = timeToLive;
            return this;
        }
        public IntegrationRuntimeDataFlowPropertiesResponse build() {
            final var _resultValue = new IntegrationRuntimeDataFlowPropertiesResponse();
            _resultValue.cleanup = cleanup;
            _resultValue.computeType = computeType;
            _resultValue.coreCount = coreCount;
            _resultValue.customProperties = customProperties;
            _resultValue.timeToLive = timeToLive;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy