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

com.pulumi.azurenative.awsconnector.inputs.ClusterStateChangeReasonCodeEnumValueArgs 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.awsconnector.inputs;

import com.pulumi.azurenative.awsconnector.enums.ClusterStateChangeReasonCode;
import com.pulumi.core.Either;
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;


/**
 * Definition of ClusterStateChangeReasonCodeEnumValue
 * 
 */
public final class ClusterStateChangeReasonCodeEnumValueArgs extends com.pulumi.resources.ResourceArgs {

    public static final ClusterStateChangeReasonCodeEnumValueArgs Empty = new ClusterStateChangeReasonCodeEnumValueArgs();

    /**
     * Property value
     * 
     */
    @Import(name="value")
    private @Nullable Output> value;

    /**
     * @return Property value
     * 
     */
    public Optional>> value() {
        return Optional.ofNullable(this.value);
    }

    private ClusterStateChangeReasonCodeEnumValueArgs() {}

    private ClusterStateChangeReasonCodeEnumValueArgs(ClusterStateChangeReasonCodeEnumValueArgs $) {
        this.value = $.value;
    }

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

    public static final class Builder {
        private ClusterStateChangeReasonCodeEnumValueArgs $;

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

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

        /**
         * @param value Property value
         * 
         * @return builder
         * 
         */
        public Builder value(@Nullable Output> value) {
            $.value = value;
            return this;
        }

        /**
         * @param value Property value
         * 
         * @return builder
         * 
         */
        public Builder value(Either value) {
            return value(Output.of(value));
        }

        /**
         * @param value Property value
         * 
         * @return builder
         * 
         */
        public Builder value(String value) {
            return value(Either.ofLeft(value));
        }

        /**
         * @param value Property value
         * 
         * @return builder
         * 
         */
        public Builder value(ClusterStateChangeReasonCode value) {
            return value(Either.ofRight(value));
        }

        public ClusterStateChangeReasonCodeEnumValueArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy