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

com.pulumi.azurenative.monitor.inputs.PersistenceConfigurationsArgs 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.monitor.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;


/**
 * Persistence options to all pipelines in the instance.
 * 
 */
public final class PersistenceConfigurationsArgs extends com.pulumi.resources.ResourceArgs {

    public static final PersistenceConfigurationsArgs Empty = new PersistenceConfigurationsArgs();

    /**
     * The name of the mounted persistent volume.
     * 
     */
    @Import(name="persistentVolumeName", required=true)
    private Output persistentVolumeName;

    /**
     * @return The name of the mounted persistent volume.
     * 
     */
    public Output persistentVolumeName() {
        return this.persistentVolumeName;
    }

    private PersistenceConfigurationsArgs() {}

    private PersistenceConfigurationsArgs(PersistenceConfigurationsArgs $) {
        this.persistentVolumeName = $.persistentVolumeName;
    }

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

    public static final class Builder {
        private PersistenceConfigurationsArgs $;

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

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

        /**
         * @param persistentVolumeName The name of the mounted persistent volume.
         * 
         * @return builder
         * 
         */
        public Builder persistentVolumeName(Output persistentVolumeName) {
            $.persistentVolumeName = persistentVolumeName;
            return this;
        }

        /**
         * @param persistentVolumeName The name of the mounted persistent volume.
         * 
         * @return builder
         * 
         */
        public Builder persistentVolumeName(String persistentVolumeName) {
            return persistentVolumeName(Output.of(persistentVolumeName));
        }

        public PersistenceConfigurationsArgs build() {
            if ($.persistentVolumeName == null) {
                throw new MissingRequiredPropertyException("PersistenceConfigurationsArgs", "persistentVolumeName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy