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

com.pulumi.googlenative.baremetalsolution.v2.outputs.AllowedClientResponse 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.googlenative.baremetalsolution.v2.outputs;

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

@CustomType
public final class AllowedClientResponse {
    /**
     * @return Allow dev flag. Which controls whether to allow creation of devices.
     * 
     */
    private Boolean allowDev;
    /**
     * @return Allow the setuid flag.
     * 
     */
    private Boolean allowSuid;
    /**
     * @return The subnet of IP addresses permitted to access the share.
     * 
     */
    private String allowedClientsCidr;
    /**
     * @return Mount permissions.
     * 
     */
    private String mountPermissions;
    /**
     * @return The network the access point sits on.
     * 
     */
    private String network;
    /**
     * @return The path to access NFS, in format shareIP:/InstanceID InstanceID is the generated ID instead of customer provided name. example like "10.0.0.0:/g123456789-nfs001"
     * 
     */
    private String nfsPath;
    /**
     * @return Disable root squashing, which is a feature of NFS. Root squash is a special mapping of the remote superuser (root) identity when using identity authentication.
     * 
     */
    private Boolean noRootSquash;
    /**
     * @return The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.
     * 
     */
    private String shareIp;

    private AllowedClientResponse() {}
    /**
     * @return Allow dev flag. Which controls whether to allow creation of devices.
     * 
     */
    public Boolean allowDev() {
        return this.allowDev;
    }
    /**
     * @return Allow the setuid flag.
     * 
     */
    public Boolean allowSuid() {
        return this.allowSuid;
    }
    /**
     * @return The subnet of IP addresses permitted to access the share.
     * 
     */
    public String allowedClientsCidr() {
        return this.allowedClientsCidr;
    }
    /**
     * @return Mount permissions.
     * 
     */
    public String mountPermissions() {
        return this.mountPermissions;
    }
    /**
     * @return The network the access point sits on.
     * 
     */
    public String network() {
        return this.network;
    }
    /**
     * @return The path to access NFS, in format shareIP:/InstanceID InstanceID is the generated ID instead of customer provided name. example like "10.0.0.0:/g123456789-nfs001"
     * 
     */
    public String nfsPath() {
        return this.nfsPath;
    }
    /**
     * @return Disable root squashing, which is a feature of NFS. Root squash is a special mapping of the remote superuser (root) identity when using identity authentication.
     * 
     */
    public Boolean noRootSquash() {
        return this.noRootSquash;
    }
    /**
     * @return The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.
     * 
     */
    public String shareIp() {
        return this.shareIp;
    }

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

    public static Builder builder(AllowedClientResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Boolean allowDev;
        private Boolean allowSuid;
        private String allowedClientsCidr;
        private String mountPermissions;
        private String network;
        private String nfsPath;
        private Boolean noRootSquash;
        private String shareIp;
        public Builder() {}
        public Builder(AllowedClientResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.allowDev = defaults.allowDev;
    	      this.allowSuid = defaults.allowSuid;
    	      this.allowedClientsCidr = defaults.allowedClientsCidr;
    	      this.mountPermissions = defaults.mountPermissions;
    	      this.network = defaults.network;
    	      this.nfsPath = defaults.nfsPath;
    	      this.noRootSquash = defaults.noRootSquash;
    	      this.shareIp = defaults.shareIp;
        }

        @CustomType.Setter
        public Builder allowDev(Boolean allowDev) {
            this.allowDev = Objects.requireNonNull(allowDev);
            return this;
        }
        @CustomType.Setter
        public Builder allowSuid(Boolean allowSuid) {
            this.allowSuid = Objects.requireNonNull(allowSuid);
            return this;
        }
        @CustomType.Setter
        public Builder allowedClientsCidr(String allowedClientsCidr) {
            this.allowedClientsCidr = Objects.requireNonNull(allowedClientsCidr);
            return this;
        }
        @CustomType.Setter
        public Builder mountPermissions(String mountPermissions) {
            this.mountPermissions = Objects.requireNonNull(mountPermissions);
            return this;
        }
        @CustomType.Setter
        public Builder network(String network) {
            this.network = Objects.requireNonNull(network);
            return this;
        }
        @CustomType.Setter
        public Builder nfsPath(String nfsPath) {
            this.nfsPath = Objects.requireNonNull(nfsPath);
            return this;
        }
        @CustomType.Setter
        public Builder noRootSquash(Boolean noRootSquash) {
            this.noRootSquash = Objects.requireNonNull(noRootSquash);
            return this;
        }
        @CustomType.Setter
        public Builder shareIp(String shareIp) {
            this.shareIp = Objects.requireNonNull(shareIp);
            return this;
        }
        public AllowedClientResponse build() {
            final var o = new AllowedClientResponse();
            o.allowDev = allowDev;
            o.allowSuid = allowSuid;
            o.allowedClientsCidr = allowedClientsCidr;
            o.mountPermissions = mountPermissions;
            o.network = network;
            o.nfsPath = nfsPath;
            o.noRootSquash = noRootSquash;
            o.shareIp = shareIp;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy