
com.pulumi.azurenative.scheduler.outputs.JobCollectionQuotaResponse Maven / Gradle / Ivy
// *** 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.azurenative.scheduler.outputs.JobMaxRecurrenceResponse;
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 JobCollectionQuotaResponse {
/**
* @return Gets or set the maximum job count.
*
*/
private @Nullable Integer maxJobCount;
/**
* @return Gets or sets the maximum job occurrence.
*
*/
private @Nullable Integer maxJobOccurrence;
/**
* @return Gets or set the maximum recurrence.
*
*/
private @Nullable JobMaxRecurrenceResponse maxRecurrence;
private JobCollectionQuotaResponse() {}
/**
* @return Gets or set the maximum job count.
*
*/
public Optional maxJobCount() {
return Optional.ofNullable(this.maxJobCount);
}
/**
* @return Gets or sets the maximum job occurrence.
*
*/
public Optional maxJobOccurrence() {
return Optional.ofNullable(this.maxJobOccurrence);
}
/**
* @return Gets or set the maximum recurrence.
*
*/
public Optional maxRecurrence() {
return Optional.ofNullable(this.maxRecurrence);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(JobCollectionQuotaResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer maxJobCount;
private @Nullable Integer maxJobOccurrence;
private @Nullable JobMaxRecurrenceResponse maxRecurrence;
public Builder() {}
public Builder(JobCollectionQuotaResponse defaults) {
Objects.requireNonNull(defaults);
this.maxJobCount = defaults.maxJobCount;
this.maxJobOccurrence = defaults.maxJobOccurrence;
this.maxRecurrence = defaults.maxRecurrence;
}
@CustomType.Setter
public Builder maxJobCount(@Nullable Integer maxJobCount) {
this.maxJobCount = maxJobCount;
return this;
}
@CustomType.Setter
public Builder maxJobOccurrence(@Nullable Integer maxJobOccurrence) {
this.maxJobOccurrence = maxJobOccurrence;
return this;
}
@CustomType.Setter
public Builder maxRecurrence(@Nullable JobMaxRecurrenceResponse maxRecurrence) {
this.maxRecurrence = maxRecurrence;
return this;
}
public JobCollectionQuotaResponse build() {
final var _resultValue = new JobCollectionQuotaResponse();
_resultValue.maxJobCount = maxJobCount;
_resultValue.maxJobOccurrence = maxJobOccurrence;
_resultValue.maxRecurrence = maxRecurrence;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy