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

com.pulumi.azurenative.netapp.inputs.PlacementKeyValuePairsArgs Maven / Gradle / Ivy

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


/**
 * Application specific parameters for the placement of volumes in the volume group
 * 
 */
public final class PlacementKeyValuePairsArgs extends com.pulumi.resources.ResourceArgs {

    public static final PlacementKeyValuePairsArgs Empty = new PlacementKeyValuePairsArgs();

    /**
     * Key for an application specific parameter for the placement of volumes in the volume group
     * 
     */
    @Import(name="key", required=true)
    private Output key;

    /**
     * @return Key for an application specific parameter for the placement of volumes in the volume group
     * 
     */
    public Output key() {
        return this.key;
    }

    /**
     * Value for an application specific parameter for the placement of volumes in the volume group
     * 
     */
    @Import(name="value", required=true)
    private Output value;

    /**
     * @return Value for an application specific parameter for the placement of volumes in the volume group
     * 
     */
    public Output value() {
        return this.value;
    }

    private PlacementKeyValuePairsArgs() {}

    private PlacementKeyValuePairsArgs(PlacementKeyValuePairsArgs $) {
        this.key = $.key;
        this.value = $.value;
    }

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

    public static final class Builder {
        private PlacementKeyValuePairsArgs $;

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

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

        /**
         * @param key Key for an application specific parameter for the placement of volumes in the volume group
         * 
         * @return builder
         * 
         */
        public Builder key(Output key) {
            $.key = key;
            return this;
        }

        /**
         * @param key Key for an application specific parameter for the placement of volumes in the volume group
         * 
         * @return builder
         * 
         */
        public Builder key(String key) {
            return key(Output.of(key));
        }

        /**
         * @param value Value for an application specific parameter for the placement of volumes in the volume group
         * 
         * @return builder
         * 
         */
        public Builder value(Output value) {
            $.value = value;
            return this;
        }

        /**
         * @param value Value for an application specific parameter for the placement of volumes in the volume group
         * 
         * @return builder
         * 
         */
        public Builder value(String value) {
            return value(Output.of(value));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy