public static interface AwsEcsTaskVolumeDetails.Builder extends SdkPojo, CopyableBuilder<AwsEcsTaskVolumeDetails.Builder,AwsEcsTaskVolumeDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsEcsTaskVolumeDetails.Builder |
host(AwsEcsTaskVolumeHostDetails host)
This parameter is specified when you use bind mount host volumes.
|
default AwsEcsTaskVolumeDetails.Builder |
host(Consumer<AwsEcsTaskVolumeHostDetails.Builder> host)
This parameter is specified when you use bind mount host volumes.
|
AwsEcsTaskVolumeDetails.Builder |
name(String name)
The name of the volume.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsEcsTaskVolumeDetails.Builder name(String name)
The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens 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, underscores, and hyphens
are allowed. This name is referenced in the sourceVolume parameter of container
definition mountPoints.AwsEcsTaskVolumeDetails.Builder host(AwsEcsTaskVolumeHostDetails host)
This parameter is specified when you use bind mount host volumes. The contents of the host
parameter determine whether your bind mount host volume persists on the host container instance and where
it's stored.
host - This parameter is specified when you use bind mount host volumes. The contents of the
host parameter determine whether your bind mount host volume persists on the host
container instance and where it's stored.default AwsEcsTaskVolumeDetails.Builder host(Consumer<AwsEcsTaskVolumeHostDetails.Builder> host)
This parameter is specified when you use bind mount host volumes. The contents of the host
parameter determine whether your bind mount host volume persists on the host container instance and where
it's stored.
AwsEcsTaskVolumeHostDetails.Builder
avoiding the need to create one manually via AwsEcsTaskVolumeHostDetails.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to host(AwsEcsTaskVolumeHostDetails).
host - a consumer that will call methods on AwsEcsTaskVolumeHostDetails.Builderhost(AwsEcsTaskVolumeHostDetails)Copyright © 2023. All rights reserved.