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

com.pulumi.azurenative.monitor.outputs.BatchProcessorResponse Maven / Gradle / Ivy

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

import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class BatchProcessorResponse {
    /**
     * @return Size of the batch.
     * 
     */
    private @Nullable Integer batchSize;
    /**
     * @return Timeout in milliseconds.
     * 
     */
    private @Nullable Integer timeout;

    private BatchProcessorResponse() {}
    /**
     * @return Size of the batch.
     * 
     */
    public Optional batchSize() {
        return Optional.ofNullable(this.batchSize);
    }
    /**
     * @return Timeout in milliseconds.
     * 
     */
    public Optional timeout() {
        return Optional.ofNullable(this.timeout);
    }

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

    public static Builder builder(BatchProcessorResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Integer batchSize;
        private @Nullable Integer timeout;
        public Builder() {}
        public Builder(BatchProcessorResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.batchSize = defaults.batchSize;
    	      this.timeout = defaults.timeout;
        }

        @CustomType.Setter
        public Builder batchSize(@Nullable Integer batchSize) {

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

            this.timeout = timeout;
            return this;
        }
        public BatchProcessorResponse build() {
            final var _resultValue = new BatchProcessorResponse();
            _resultValue.batchSize = batchSize;
            _resultValue.timeout = timeout;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy