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

com.pulumi.azurenative.machinelearningservices.outputs.BindOptionsResponse Maven / Gradle / Ivy

// *** 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.machinelearningservices.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class BindOptionsResponse {
    /**
     * @return Indicate whether to create host path.
     * 
     */
    private @Nullable Boolean createHostPath;
    /**
     * @return Type of Bind Option
     * 
     */
    private @Nullable String propagation;
    /**
     * @return Mention the selinux options.
     * 
     */
    private @Nullable String selinux;

    private BindOptionsResponse() {}
    /**
     * @return Indicate whether to create host path.
     * 
     */
    public Optional createHostPath() {
        return Optional.ofNullable(this.createHostPath);
    }
    /**
     * @return Type of Bind Option
     * 
     */
    public Optional propagation() {
        return Optional.ofNullable(this.propagation);
    }
    /**
     * @return Mention the selinux options.
     * 
     */
    public Optional selinux() {
        return Optional.ofNullable(this.selinux);
    }

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

    public static Builder builder(BindOptionsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Boolean createHostPath;
        private @Nullable String propagation;
        private @Nullable String selinux;
        public Builder() {}
        public Builder(BindOptionsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.createHostPath = defaults.createHostPath;
    	      this.propagation = defaults.propagation;
    	      this.selinux = defaults.selinux;
        }

        @CustomType.Setter
        public Builder createHostPath(@Nullable Boolean createHostPath) {

            this.createHostPath = createHostPath;
            return this;
        }
        @CustomType.Setter
        public Builder propagation(@Nullable String propagation) {

            this.propagation = propagation;
            return this;
        }
        @CustomType.Setter
        public Builder selinux(@Nullable String selinux) {

            this.selinux = selinux;
            return this;
        }
        public BindOptionsResponse build() {
            final var _resultValue = new BindOptionsResponse();
            _resultValue.createHostPath = createHostPath;
            _resultValue.propagation = propagation;
            _resultValue.selinux = selinux;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy