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

com.ovhcloud.pulumi.ovh.CloudProject.inputs.ProjectPlanOptionConfigurationArgs Maven / Gradle / Ivy

There is a newer version: 1.1.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.ovhcloud.pulumi.ovh.CloudProject.inputs;

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


public final class ProjectPlanOptionConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final ProjectPlanOptionConfigurationArgs Empty = new ProjectPlanOptionConfigurationArgs();

    /**
     * Identifier of the resource
     * 
     */
    @Import(name="label", required=true)
    private Output label;

    /**
     * @return Identifier of the resource
     * 
     */
    public Output label() {
        return this.label;
    }

    /**
     * Path to the resource in API.OVH.COM
     * 
     */
    @Import(name="value", required=true)
    private Output value;

    /**
     * @return Path to the resource in API.OVH.COM
     * 
     */
    public Output value() {
        return this.value;
    }

    private ProjectPlanOptionConfigurationArgs() {}

    private ProjectPlanOptionConfigurationArgs(ProjectPlanOptionConfigurationArgs $) {
        this.label = $.label;
        this.value = $.value;
    }

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

    public static final class Builder {
        private ProjectPlanOptionConfigurationArgs $;

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

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

        /**
         * @param label Identifier of the resource
         * 
         * @return builder
         * 
         */
        public Builder label(Output label) {
            $.label = label;
            return this;
        }

        /**
         * @param label Identifier of the resource
         * 
         * @return builder
         * 
         */
        public Builder label(String label) {
            return label(Output.of(label));
        }

        /**
         * @param value Path to the resource in API.OVH.COM
         * 
         * @return builder
         * 
         */
        public Builder value(Output value) {
            $.value = value;
            return this;
        }

        /**
         * @param value Path to the resource in API.OVH.COM
         * 
         * @return builder
         * 
         */
        public Builder value(String value) {
            return value(Output.of(value));
        }

        public ProjectPlanOptionConfigurationArgs build() {
            if ($.label == null) {
                throw new MissingRequiredPropertyException("ProjectPlanOptionConfigurationArgs", "label");
            }
            if ($.value == null) {
                throw new MissingRequiredPropertyException("ProjectPlanOptionConfigurationArgs", "value");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy