Interface AwsEcsTaskVolumeDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsEcsTaskVolumeDetails.Builder,,AwsEcsTaskVolumeDetails> SdkBuilder<AwsEcsTaskVolumeDetails.Builder,,AwsEcsTaskVolumeDetails> SdkPojo
- Enclosing class:
AwsEcsTaskVolumeDetails
-
Method Summary
Modifier and TypeMethodDescriptiondefault AwsEcsTaskVolumeDetails.BuilderThis 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
sourceVolumeparameter 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 thesourceVolumeparameter 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
hostparameter 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 thehostparameter 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 thehostparameter determine whether your bind mount host volume persists on the host container instance and where it's stored.AwsEcsTaskVolumeHostDetails.Builderavoiding the need to create one manually viaAwsEcsTaskVolumeHostDetails.builder().When the
Consumercompletes,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:
-