
com.pulumi.aws.batch.outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume 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.aws.batch.outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration;
import com.pulumi.aws.batch.outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost;
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 GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume {
/**
* @return This parameter is specified when you're using an Amazon Elastic File System file system for job storage.
*
*/
private List efsVolumeConfigurations;
/**
* @return The contents of the host parameter determine whether your data volume persists on the host container instance and where it's stored.
*
*/
private List hosts;
/**
* @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;
private GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume() {}
/**
* @return This parameter is specified when you're using an Amazon Elastic File System file system for job storage.
*
*/
public List efsVolumeConfigurations() {
return this.efsVolumeConfigurations;
}
/**
* @return The contents of the host parameter determine whether your data volume persists on the host container instance and where it's stored.
*
*/
public List hosts() {
return this.hosts;
}
/**
* @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;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List efsVolumeConfigurations;
private List hosts;
private String name;
public Builder() {}
public Builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume defaults) {
Objects.requireNonNull(defaults);
this.efsVolumeConfigurations = defaults.efsVolumeConfigurations;
this.hosts = defaults.hosts;
this.name = defaults.name;
}
@CustomType.Setter
public Builder efsVolumeConfigurations(List efsVolumeConfigurations) {
if (efsVolumeConfigurations == null) {
throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume", "efsVolumeConfigurations");
}
this.efsVolumeConfigurations = efsVolumeConfigurations;
return this;
}
public Builder efsVolumeConfigurations(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration... efsVolumeConfigurations) {
return efsVolumeConfigurations(List.of(efsVolumeConfigurations));
}
@CustomType.Setter
public Builder hosts(List hosts) {
if (hosts == null) {
throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume", "hosts");
}
this.hosts = hosts;
return this;
}
public Builder hosts(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost... hosts) {
return hosts(List.of(hosts));
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume", "name");
}
this.name = name;
return this;
}
public GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume build() {
final var _resultValue = new GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume();
_resultValue.efsVolumeConfigurations = efsVolumeConfigurations;
_resultValue.hosts = hosts;
_resultValue.name = name;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy