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

com.pulumi.azurenative.logic.outputs.BatchReleaseCriteriaResponse 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.logic.outputs;

import com.pulumi.azurenative.logic.outputs.WorkflowTriggerRecurrenceResponse;
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 BatchReleaseCriteriaResponse {
    /**
     * @return The batch size in bytes.
     * 
     */
    private @Nullable Integer batchSize;
    /**
     * @return The message count.
     * 
     */
    private @Nullable Integer messageCount;
    /**
     * @return The recurrence.
     * 
     */
    private @Nullable WorkflowTriggerRecurrenceResponse recurrence;

    private BatchReleaseCriteriaResponse() {}
    /**
     * @return The batch size in bytes.
     * 
     */
    public Optional batchSize() {
        return Optional.ofNullable(this.batchSize);
    }
    /**
     * @return The message count.
     * 
     */
    public Optional messageCount() {
        return Optional.ofNullable(this.messageCount);
    }
    /**
     * @return The recurrence.
     * 
     */
    public Optional recurrence() {
        return Optional.ofNullable(this.recurrence);
    }

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

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

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

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

            this.messageCount = messageCount;
            return this;
        }
        @CustomType.Setter
        public Builder recurrence(@Nullable WorkflowTriggerRecurrenceResponse recurrence) {

            this.recurrence = recurrence;
            return this;
        }
        public BatchReleaseCriteriaResponse build() {
            final var _resultValue = new BatchReleaseCriteriaResponse();
            _resultValue.batchSize = batchSize;
            _resultValue.messageCount = messageCount;
            _resultValue.recurrence = recurrence;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy