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

com.pulumi.kubernetes.policy.v1beta1.outputs.AllowedFlexVolume Maven / Gradle / Ivy

There is a newer version: 4.19.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.kubernetes.policy.v1beta1.outputs;

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

@CustomType
public final class AllowedFlexVolume {
    /**
     * @return driver is the name of the Flexvolume driver.
     * 
     */
    private String driver;

    private AllowedFlexVolume() {}
    /**
     * @return driver is the name of the Flexvolume driver.
     * 
     */
    public String driver() {
        return this.driver;
    }

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

    public static Builder builder(AllowedFlexVolume defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String driver;
        public Builder() {}
        public Builder(AllowedFlexVolume defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.driver = defaults.driver;
        }

        @CustomType.Setter
        public Builder driver(String driver) {
            if (driver == null) {
              throw new MissingRequiredPropertyException("AllowedFlexVolume", "driver");
            }
            this.driver = driver;
            return this;
        }
        public AllowedFlexVolume build() {
            final var _resultValue = new AllowedFlexVolume();
            _resultValue.driver = driver;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy