Interface AwsEcsTaskVolumeDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsEcsTaskVolumeDetails.Builder,
,AwsEcsTaskVolumeDetails> SdkBuilder<AwsEcsTaskVolumeDetails.Builder,
,AwsEcsTaskVolumeDetails> SdkPojo
- Enclosing class:
AwsEcsTaskVolumeDetails
-
Method Summary
Modifier and TypeMethodDescriptiondefault AwsEcsTaskVolumeDetails.Builder
This parameter is specified when you use bind mount host volumes.This parameter is specified when you use bind mount host volumes.The name of the volume.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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 definitionmountPoints
.- Parameters:
name
- The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This name is referenced in thesourceVolume
parameter of container definitionmountPoints
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
host
- This parameter is specified when you use bind mount host volumes. The contents of thehost
parameter determine whether your bind mount host volume persists on the host container instance and where it's stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
host
This parameter is specified when you use bind mount host volumes. The contents of the
This is a convenience method that creates an instance of thehost
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 viaAwsEcsTaskVolumeHostDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohost(AwsEcsTaskVolumeHostDetails)
.- Parameters:
host
- a consumer that will call methods onAwsEcsTaskVolumeHostDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-