com.pulumi.aws.batch.outputs.JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDir Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
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.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDir {
/**
* @return Medium to store the volume. The default value is an empty string, which uses the storage of the node.
*
*/
private @Nullable String medium;
/**
* @return Maximum size of the volume. By default, there's no maximum size defined.
*
*/
private String sizeLimit;
private JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDir() {}
/**
* @return Medium to store the volume. The default value is an empty string, which uses the storage of the node.
*
*/
public Optional medium() {
return Optional.ofNullable(this.medium);
}
/**
* @return 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(JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDir defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String medium;
private String sizeLimit;
public Builder() {}
public Builder(JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDir defaults) {
Objects.requireNonNull(defaults);
this.medium = defaults.medium;
this.sizeLimit = defaults.sizeLimit;
}
@CustomType.Setter
public Builder medium(@Nullable String medium) {
this.medium = medium;
return this;
}
@CustomType.Setter
public Builder sizeLimit(String sizeLimit) {
if (sizeLimit == null) {
throw new MissingRequiredPropertyException("JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDir", "sizeLimit");
}
this.sizeLimit = sizeLimit;
return this;
}
public JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDir build() {
final var _resultValue = new JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDir();
_resultValue.medium = medium;
_resultValue.sizeLimit = sizeLimit;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy