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

com.pulumi.azurenative.scheduler.outputs.JobMaxRecurrenceResponse 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.scheduler.outputs;

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

@CustomType
public final class JobMaxRecurrenceResponse {
    /**
     * @return Gets or sets the frequency of recurrence (second, minute, hour, day, week, month).
     * 
     */
    private @Nullable String frequency;
    /**
     * @return Gets or sets the interval between retries.
     * 
     */
    private @Nullable Integer interval;

    private JobMaxRecurrenceResponse() {}
    /**
     * @return Gets or sets the frequency of recurrence (second, minute, hour, day, week, month).
     * 
     */
    public Optional frequency() {
        return Optional.ofNullable(this.frequency);
    }
    /**
     * @return Gets or sets the interval between retries.
     * 
     */
    public Optional interval() {
        return Optional.ofNullable(this.interval);
    }

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

    public static Builder builder(JobMaxRecurrenceResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String frequency;
        private @Nullable Integer interval;
        public Builder() {}
        public Builder(JobMaxRecurrenceResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.frequency = defaults.frequency;
    	      this.interval = defaults.interval;
        }

        @CustomType.Setter
        public Builder frequency(@Nullable String frequency) {

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

            this.interval = interval;
            return this;
        }
        public JobMaxRecurrenceResponse build() {
            final var _resultValue = new JobMaxRecurrenceResponse();
            _resultValue.frequency = frequency;
            _resultValue.interval = interval;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy