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

com.pulumi.aws.batch.outputs.JobDefinitionEksPropertiesPodPropertiesInitContainerVolumeMount Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The 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.aws.batch.outputs;

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

@CustomType
public final class JobDefinitionEksPropertiesPodPropertiesInitContainerVolumeMount {
    private String mountPath;
    /**
     * @return Name of the job definition.
     * 
     */
    private String name;
    private @Nullable Boolean readOnly;

    private JobDefinitionEksPropertiesPodPropertiesInitContainerVolumeMount() {}
    public String mountPath() {
        return this.mountPath;
    }
    /**
     * @return Name of the job definition.
     * 
     */
    public String name() {
        return this.name;
    }
    public Optional readOnly() {
        return Optional.ofNullable(this.readOnly);
    }

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

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

        @CustomType.Setter
        public Builder mountPath(String mountPath) {
            if (mountPath == null) {
              throw new MissingRequiredPropertyException("JobDefinitionEksPropertiesPodPropertiesInitContainerVolumeMount", "mountPath");
            }
            this.mountPath = mountPath;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("JobDefinitionEksPropertiesPodPropertiesInitContainerVolumeMount", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder readOnly(@Nullable Boolean readOnly) {

            this.readOnly = readOnly;
            return this;
        }
        public JobDefinitionEksPropertiesPodPropertiesInitContainerVolumeMount build() {
            final var _resultValue = new JobDefinitionEksPropertiesPodPropertiesInitContainerVolumeMount();
            _resultValue.mountPath = mountPath;
            _resultValue.name = name;
            _resultValue.readOnly = readOnly;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy