@Stability(value=Stable) public static final class CfnJobDefinition.VolumesProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnJobDefinition.VolumesProperty>
CfnJobDefinition.VolumesProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnJobDefinition.VolumesProperty |
build()
Builds the configured instance.
|
CfnJobDefinition.VolumesProperty.Builder |
efsVolumeConfiguration(CfnJobDefinition.EfsVolumeConfigurationProperty efsVolumeConfiguration)
Sets the value of
CfnJobDefinition.VolumesProperty.getEfsVolumeConfiguration() |
CfnJobDefinition.VolumesProperty.Builder |
efsVolumeConfiguration(IResolvable efsVolumeConfiguration)
Sets the value of
CfnJobDefinition.VolumesProperty.getEfsVolumeConfiguration() |
CfnJobDefinition.VolumesProperty.Builder |
host(CfnJobDefinition.VolumesHostProperty host)
Sets the value of
CfnJobDefinition.VolumesProperty.getHost() |
CfnJobDefinition.VolumesProperty.Builder |
host(IResolvable host)
Sets the value of
CfnJobDefinition.VolumesProperty.getHost() |
CfnJobDefinition.VolumesProperty.Builder |
name(String name)
Sets the value of
CfnJobDefinition.VolumesProperty.getName() |
@Stability(value=Stable) public CfnJobDefinition.VolumesProperty.Builder efsVolumeConfiguration(CfnJobDefinition.EfsVolumeConfigurationProperty efsVolumeConfiguration)
CfnJobDefinition.VolumesProperty.getEfsVolumeConfiguration()efsVolumeConfiguration - This is used when you're using an Amazon Elastic File System file system for job storage.
For more information, see Amazon EFS Volumes in the AWS Batch User Guide .this@Stability(value=Stable) public CfnJobDefinition.VolumesProperty.Builder efsVolumeConfiguration(IResolvable efsVolumeConfiguration)
CfnJobDefinition.VolumesProperty.getEfsVolumeConfiguration()efsVolumeConfiguration - This is used when you're using an Amazon Elastic File System file system for job storage.
For more information, see Amazon EFS Volumes in the AWS Batch User Guide .this@Stability(value=Stable) public CfnJobDefinition.VolumesProperty.Builder host(CfnJobDefinition.VolumesHostProperty host)
CfnJobDefinition.VolumesProperty.getHost()host - The contents of the `host` parameter determine whether your data volume persists on the host container instance and where it is stored.
If the host parameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data isn't guaranteed to persist after the containers associated with it stop running.
This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.
this@Stability(value=Stable) public CfnJobDefinition.VolumesProperty.Builder host(IResolvable host)
CfnJobDefinition.VolumesProperty.getHost()host - The contents of the `host` parameter determine whether your data volume persists on the host container instance and where it is stored.
If the host parameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data isn't guaranteed to persist after the containers associated with it stop running.
This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.
this@Stability(value=Stable) public CfnJobDefinition.VolumesProperty.Builder name(String name)
CfnJobDefinition.VolumesProperty.getName()name - The name of the volume.
It can be up to 255 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). This name is referenced in the sourceVolume parameter of container definition mountPoints .this@Stability(value=Stable) public CfnJobDefinition.VolumesProperty build()
build in interface software.amazon.jsii.Builder<CfnJobDefinition.VolumesProperty>CfnJobDefinition.VolumesPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.