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

com.pulumi.azurenative.web.inputs.CapabilityArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.web.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;


/**
 * Describes the capabilities/features allowed for a specific SKU.
 * 
 */
public final class CapabilityArgs extends com.pulumi.resources.ResourceArgs {

    public static final CapabilityArgs Empty = new CapabilityArgs();

    /**
     * Name of the SKU capability.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the SKU capability.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Reason of the SKU capability.
     * 
     */
    @Import(name="reason")
    private @Nullable Output reason;

    /**
     * @return Reason of the SKU capability.
     * 
     */
    public Optional> reason() {
        return Optional.ofNullable(this.reason);
    }

    /**
     * Value of the SKU capability.
     * 
     */
    @Import(name="value")
    private @Nullable Output value;

    /**
     * @return Value of the SKU capability.
     * 
     */
    public Optional> value() {
        return Optional.ofNullable(this.value);
    }

    private CapabilityArgs() {}

    private CapabilityArgs(CapabilityArgs $) {
        this.name = $.name;
        this.reason = $.reason;
        this.value = $.value;
    }

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

    public static final class Builder {
        private CapabilityArgs $;

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

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

        /**
         * @param name Name of the SKU capability.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the SKU capability.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param reason Reason of the SKU capability.
         * 
         * @return builder
         * 
         */
        public Builder reason(@Nullable Output reason) {
            $.reason = reason;
            return this;
        }

        /**
         * @param reason Reason of the SKU capability.
         * 
         * @return builder
         * 
         */
        public Builder reason(String reason) {
            return reason(Output.of(reason));
        }

        /**
         * @param value Value of the SKU capability.
         * 
         * @return builder
         * 
         */
        public Builder value(@Nullable Output value) {
            $.value = value;
            return this;
        }

        /**
         * @param value Value of the SKU capability.
         * 
         * @return builder
         * 
         */
        public Builder value(String value) {
            return value(Output.of(value));
        }

        public CapabilityArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy