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

com.pulumi.kubernetes.flowcontrol.v1beta1.inputs.PriorityLevelConfigurationConditionArgs Maven / Gradle / Ivy

There is a newer version: 4.19.0-alpha.1730750641
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.kubernetes.flowcontrol.v1beta1.inputs;

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


/**
 * PriorityLevelConfigurationCondition defines the condition of priority level.
 * 
 */
public final class PriorityLevelConfigurationConditionArgs extends com.pulumi.resources.ResourceArgs {

    public static final PriorityLevelConfigurationConditionArgs Empty = new PriorityLevelConfigurationConditionArgs();

    /**
     * `lastTransitionTime` is the last time the condition transitioned from one status to another.
     * 
     */
    @Import(name="lastTransitionTime")
    private @Nullable Output lastTransitionTime;

    /**
     * @return `lastTransitionTime` is the last time the condition transitioned from one status to another.
     * 
     */
    public Optional> lastTransitionTime() {
        return Optional.ofNullable(this.lastTransitionTime);
    }

    /**
     * `message` is a human-readable message indicating details about last transition.
     * 
     */
    @Import(name="message")
    private @Nullable Output message;

    /**
     * @return `message` is a human-readable message indicating details about last transition.
     * 
     */
    public Optional> message() {
        return Optional.ofNullable(this.message);
    }

    /**
     * `reason` is a unique, one-word, CamelCase reason for the condition's last transition.
     * 
     */
    @Import(name="reason")
    private @Nullable Output reason;

    /**
     * @return `reason` is a unique, one-word, CamelCase reason for the condition's last transition.
     * 
     */
    public Optional> reason() {
        return Optional.ofNullable(this.reason);
    }

    /**
     * `status` is the status of the condition. Can be True, False, Unknown. Required.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return `status` is the status of the condition. Can be True, False, Unknown. Required.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    /**
     * `type` is the type of the condition. Required.
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return `type` is the type of the condition. Required.
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    private PriorityLevelConfigurationConditionArgs() {}

    private PriorityLevelConfigurationConditionArgs(PriorityLevelConfigurationConditionArgs $) {
        this.lastTransitionTime = $.lastTransitionTime;
        this.message = $.message;
        this.reason = $.reason;
        this.status = $.status;
        this.type = $.type;
    }

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

    public static final class Builder {
        private PriorityLevelConfigurationConditionArgs $;

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

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

        /**
         * @param lastTransitionTime `lastTransitionTime` is the last time the condition transitioned from one status to another.
         * 
         * @return builder
         * 
         */
        public Builder lastTransitionTime(@Nullable Output lastTransitionTime) {
            $.lastTransitionTime = lastTransitionTime;
            return this;
        }

        /**
         * @param lastTransitionTime `lastTransitionTime` is the last time the condition transitioned from one status to another.
         * 
         * @return builder
         * 
         */
        public Builder lastTransitionTime(String lastTransitionTime) {
            return lastTransitionTime(Output.of(lastTransitionTime));
        }

        /**
         * @param message `message` is a human-readable message indicating details about last transition.
         * 
         * @return builder
         * 
         */
        public Builder message(@Nullable Output message) {
            $.message = message;
            return this;
        }

        /**
         * @param message `message` is a human-readable message indicating details about last transition.
         * 
         * @return builder
         * 
         */
        public Builder message(String message) {
            return message(Output.of(message));
        }

        /**
         * @param reason `reason` is a unique, one-word, CamelCase reason for the condition's last transition.
         * 
         * @return builder
         * 
         */
        public Builder reason(@Nullable Output reason) {
            $.reason = reason;
            return this;
        }

        /**
         * @param reason `reason` is a unique, one-word, CamelCase reason for the condition's last transition.
         * 
         * @return builder
         * 
         */
        public Builder reason(String reason) {
            return reason(Output.of(reason));
        }

        /**
         * @param status `status` is the status of the condition. Can be True, False, Unknown. Required.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status `status` is the status of the condition. Can be True, False, Unknown. Required.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        /**
         * @param type `type` is the type of the condition. Required.
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type `type` is the type of the condition. Required.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public PriorityLevelConfigurationConditionArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy