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

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

@CustomType
public final class ServiceTemplateSpecContainerVolumeMount {
    /**
     * @return Path within the container at which the volume should be mounted.  Must
     * not contain &#39;:&#39;.
     * 
     */
    private String mountPath;
    /**
     * @return This must match the Name of a Volume.
     * 
     */
    private String name;

    private ServiceTemplateSpecContainerVolumeMount() {}
    /**
     * @return Path within the container at which the volume should be mounted.  Must
     * not contain &#39;:&#39;.
     * 
     */
    public String mountPath() {
        return this.mountPath;
    }
    /**
     * @return This must match the Name of a Volume.
     * 
     */
    public String name() {
        return this.name;
    }

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

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

        @CustomType.Setter
        public Builder mountPath(String mountPath) {
            this.mountPath = Objects.requireNonNull(mountPath);
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            this.name = Objects.requireNonNull(name);
            return this;
        }
        public ServiceTemplateSpecContainerVolumeMount build() {
            final var o = new ServiceTemplateSpecContainerVolumeMount();
            o.mountPath = mountPath;
            o.name = name;
            return o;
        }
    }
}
