com.pulumi.aws.batch.outputs.GetJobDefinitionEksPropertyPodPropertyVolume 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.
// *** 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.aws.batch.outputs.GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir;
import com.pulumi.aws.batch.outputs.GetJobDefinitionEksPropertyPodPropertyVolumeHostPath;
import com.pulumi.aws.batch.outputs.GetJobDefinitionEksPropertyPodPropertyVolumeSecret;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetJobDefinitionEksPropertyPodPropertyVolume {
/**
* @return Specifies the configuration of a Kubernetes emptyDir volume.
*
*/
private List emptyDirs;
/**
* @return The path for the device on the host container instance.
*
*/
private List hostPaths;
/**
* @return The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
*
*/
private String name;
/**
* @return Specifies the configuration of a Kubernetes secret volume.
*
*/
private List secrets;
private GetJobDefinitionEksPropertyPodPropertyVolume() {}
/**
* @return Specifies the configuration of a Kubernetes emptyDir volume.
*
*/
public List emptyDirs() {
return this.emptyDirs;
}
/**
* @return The path for the device on the host container instance.
*
*/
public List hostPaths() {
return this.hostPaths;
}
/**
* @return The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
*
*/
public String name() {
return this.name;
}
/**
* @return Specifies the configuration of a Kubernetes secret volume.
*
*/
public List secrets() {
return this.secrets;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetJobDefinitionEksPropertyPodPropertyVolume defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List emptyDirs;
private List hostPaths;
private String name;
private List secrets;
public Builder() {}
public Builder(GetJobDefinitionEksPropertyPodPropertyVolume defaults) {
Objects.requireNonNull(defaults);
this.emptyDirs = defaults.emptyDirs;
this.hostPaths = defaults.hostPaths;
this.name = defaults.name;
this.secrets = defaults.secrets;
}
@CustomType.Setter
public Builder emptyDirs(List emptyDirs) {
if (emptyDirs == null) {
throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyVolume", "emptyDirs");
}
this.emptyDirs = emptyDirs;
return this;
}
public Builder emptyDirs(GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir... emptyDirs) {
return emptyDirs(List.of(emptyDirs));
}
@CustomType.Setter
public Builder hostPaths(List hostPaths) {
if (hostPaths == null) {
throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyVolume", "hostPaths");
}
this.hostPaths = hostPaths;
return this;
}
public Builder hostPaths(GetJobDefinitionEksPropertyPodPropertyVolumeHostPath... hostPaths) {
return hostPaths(List.of(hostPaths));
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyVolume", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder secrets(List secrets) {
if (secrets == null) {
throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyVolume", "secrets");
}
this.secrets = secrets;
return this;
}
public Builder secrets(GetJobDefinitionEksPropertyPodPropertyVolumeSecret... secrets) {
return secrets(List.of(secrets));
}
public GetJobDefinitionEksPropertyPodPropertyVolume build() {
final var _resultValue = new GetJobDefinitionEksPropertyPodPropertyVolume();
_resultValue.emptyDirs = emptyDirs;
_resultValue.hostPaths = hostPaths;
_resultValue.name = name;
_resultValue.secrets = secrets;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy