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

com.pulumi.azurenative.iotoperationsmq.outputs.NodeTolerationsResponse Maven / Gradle / Ivy

There is a newer version: 2.72.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.iotoperationsmq.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class NodeTolerationsResponse {
    /**
     * @return Toleration effect.
     * 
     */
    private String effect;
    /**
     * @return Toleration key.
     * 
     */
    private String key;
    /**
     * @return Toleration operator like 'Exists', 'Equal' etc.
     * 
     */
    private String operator;
    /**
     * @return Toleration Value.
     * 
     */
    private String value;

    private NodeTolerationsResponse() {}
    /**
     * @return Toleration effect.
     * 
     */
    public String effect() {
        return this.effect;
    }
    /**
     * @return Toleration key.
     * 
     */
    public String key() {
        return this.key;
    }
    /**
     * @return Toleration operator like 'Exists', 'Equal' etc.
     * 
     */
    public String operator() {
        return this.operator;
    }
    /**
     * @return Toleration Value.
     * 
     */
    public String value() {
        return this.value;
    }

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

    public static Builder builder(NodeTolerationsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String effect;
        private String key;
        private String operator;
        private String value;
        public Builder() {}
        public Builder(NodeTolerationsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.effect = defaults.effect;
    	      this.key = defaults.key;
    	      this.operator = defaults.operator;
    	      this.value = defaults.value;
        }

        @CustomType.Setter
        public Builder effect(String effect) {
            if (effect == null) {
              throw new MissingRequiredPropertyException("NodeTolerationsResponse", "effect");
            }
            this.effect = effect;
            return this;
        }
        @CustomType.Setter
        public Builder key(String key) {
            if (key == null) {
              throw new MissingRequiredPropertyException("NodeTolerationsResponse", "key");
            }
            this.key = key;
            return this;
        }
        @CustomType.Setter
        public Builder operator(String operator) {
            if (operator == null) {
              throw new MissingRequiredPropertyException("NodeTolerationsResponse", "operator");
            }
            this.operator = operator;
            return this;
        }
        @CustomType.Setter
        public Builder value(String value) {
            if (value == null) {
              throw new MissingRequiredPropertyException("NodeTolerationsResponse", "value");
            }
            this.value = value;
            return this;
        }
        public NodeTolerationsResponse build() {
            final var _resultValue = new NodeTolerationsResponse();
            _resultValue.effect = effect;
            _resultValue.key = key;
            _resultValue.operator = operator;
            _resultValue.value = value;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy