com.pulumi.kubernetes.flowcontrol.v1alpha1.outputs.PriorityLevelConfigurationStatusPatch Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kubernetes Show documentation
Show all versions of kubernetes Show documentation
A Pulumi package for creating and managing Kubernetes resources.
// *** 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.kubernetes.flowcontrol.v1alpha1.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.kubernetes.flowcontrol.v1alpha1.outputs.PriorityLevelConfigurationConditionPatch;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class PriorityLevelConfigurationStatusPatch {
/**
* @return `conditions` is the current state of "request-priority".
*
*/
private @Nullable List conditions;
private PriorityLevelConfigurationStatusPatch() {}
/**
* @return `conditions` is the current state of "request-priority".
*
*/
public List conditions() {
return this.conditions == null ? List.of() : this.conditions;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PriorityLevelConfigurationStatusPatch defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List conditions;
public Builder() {}
public Builder(PriorityLevelConfigurationStatusPatch defaults) {
Objects.requireNonNull(defaults);
this.conditions = defaults.conditions;
}
@CustomType.Setter
public Builder conditions(@Nullable List conditions) {
this.conditions = conditions;
return this;
}
public Builder conditions(PriorityLevelConfigurationConditionPatch... conditions) {
return conditions(List.of(conditions));
}
public PriorityLevelConfigurationStatusPatch build() {
final var _resultValue = new PriorityLevelConfigurationStatusPatch();
_resultValue.conditions = conditions;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy