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

com.pulumi.aws.batch.outputs.GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir 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.aws.batch.outputs;

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

@CustomType
public final class GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir {
    /**
     * @return The medium to store the volume.
     * 
     */
    private String medium;
    /**
     * @return The maximum size of the volume. By default, there's no maximum size defined.
     * 
     */
    private String sizeLimit;

    private GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir() {}
    /**
     * @return The medium to store the volume.
     * 
     */
    public String medium() {
        return this.medium;
    }
    /**
     * @return The maximum size of the volume. By default, there's no maximum size defined.
     * 
     */
    public String sizeLimit() {
        return this.sizeLimit;
    }

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy