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

com.pulumi.azurenative.logic.inputs.BatchReleaseCriteriaArgs 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.logic.inputs;

import com.pulumi.azurenative.logic.inputs.WorkflowTriggerRecurrenceArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The batch release criteria.
 * 
 */
public final class BatchReleaseCriteriaArgs extends com.pulumi.resources.ResourceArgs {

    public static final BatchReleaseCriteriaArgs Empty = new BatchReleaseCriteriaArgs();

    /**
     * The batch size in bytes.
     * 
     */
    @Import(name="batchSize")
    private @Nullable Output batchSize;

    /**
     * @return The batch size in bytes.
     * 
     */
    public Optional> batchSize() {
        return Optional.ofNullable(this.batchSize);
    }

    /**
     * The message count.
     * 
     */
    @Import(name="messageCount")
    private @Nullable Output messageCount;

    /**
     * @return The message count.
     * 
     */
    public Optional> messageCount() {
        return Optional.ofNullable(this.messageCount);
    }

    /**
     * The recurrence.
     * 
     */
    @Import(name="recurrence")
    private @Nullable Output recurrence;

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

    private BatchReleaseCriteriaArgs() {}

    private BatchReleaseCriteriaArgs(BatchReleaseCriteriaArgs $) {
        this.batchSize = $.batchSize;
        this.messageCount = $.messageCount;
        this.recurrence = $.recurrence;
    }

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

    public static final class Builder {
        private BatchReleaseCriteriaArgs $;

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

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

        /**
         * @param batchSize The batch size in bytes.
         * 
         * @return builder
         * 
         */
        public Builder batchSize(@Nullable Output batchSize) {
            $.batchSize = batchSize;
            return this;
        }

        /**
         * @param batchSize The batch size in bytes.
         * 
         * @return builder
         * 
         */
        public Builder batchSize(Integer batchSize) {
            return batchSize(Output.of(batchSize));
        }

        /**
         * @param messageCount The message count.
         * 
         * @return builder
         * 
         */
        public Builder messageCount(@Nullable Output messageCount) {
            $.messageCount = messageCount;
            return this;
        }

        /**
         * @param messageCount The message count.
         * 
         * @return builder
         * 
         */
        public Builder messageCount(Integer messageCount) {
            return messageCount(Output.of(messageCount));
        }

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

        /**
         * @param recurrence The recurrence.
         * 
         * @return builder
         * 
         */
        public Builder recurrence(WorkflowTriggerRecurrenceArgs recurrence) {
            return recurrence(Output.of(recurrence));
        }

        public BatchReleaseCriteriaArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy