public static interface Volume.Builder extends SdkPojo, CopyableBuilder<Volume.Builder,Volume>
| Modifier and Type | Method and Description |
|---|---|
default Volume.Builder |
efsVolumeConfiguration(Consumer<EFSVolumeConfiguration.Builder> efsVolumeConfiguration)
This parameter is specified when you are using an Amazon Elastic File System file system for job storage.
|
Volume.Builder |
efsVolumeConfiguration(EFSVolumeConfiguration efsVolumeConfiguration)
This parameter is specified when you are using an Amazon Elastic File System file system for job storage.
|
default Volume.Builder |
host(Consumer<Host.Builder> host)
The contents of the
host parameter determine whether your data volume persists on the host
container instance and where it is stored. |
Volume.Builder |
host(Host host)
The contents of the
host parameter determine whether your data volume persists on the host
container instance and where it is stored. |
Volume.Builder |
name(String name)
The name of the volume.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildVolume.Builder host(Host 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 running on Fargate resources and shouldn't be provided.
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 running on Fargate resources and shouldn't be provided.
default Volume.Builder host(Consumer<Host.Builder> 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 running on Fargate resources and shouldn't be provided.
Host.Builder avoiding the need to
create one manually via Host.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to host(Host).host - a consumer that will call methods on Host.Builderhost(Host)Volume.Builder name(String name)
The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are
allowed. This name is referenced in the sourceVolume parameter of container definition
mountPoints.
name - The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores
are allowed. This name is referenced in the sourceVolume parameter of container
definition mountPoints.Volume.Builder efsVolumeConfiguration(EFSVolumeConfiguration efsVolumeConfiguration)
This parameter is specified when you are using an Amazon Elastic File System file system for job storage.
Jobs running on Fargate resources must specify a platformVersion of at least 1.4.0.
efsVolumeConfiguration - This parameter is specified when you are using an Amazon Elastic File System file system for job
storage. Jobs running on Fargate resources must specify a platformVersion of at least
1.4.0.default Volume.Builder efsVolumeConfiguration(Consumer<EFSVolumeConfiguration.Builder> efsVolumeConfiguration)
This parameter is specified when you are using an Amazon Elastic File System file system for job storage.
Jobs running on Fargate resources must specify a platformVersion of at least 1.4.0.
EFSVolumeConfiguration.Builder avoiding the
need to create one manually via EFSVolumeConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to efsVolumeConfiguration(EFSVolumeConfiguration).efsVolumeConfiguration - a consumer that will call methods on EFSVolumeConfiguration.BuilderefsVolumeConfiguration(EFSVolumeConfiguration)Copyright © 2021. All rights reserved.