Interface AwsEcsTaskVolumeDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsEcsTaskVolumeDetails.Builder,AwsEcsTaskVolumeDetails>,SdkBuilder<AwsEcsTaskVolumeDetails.Builder,AwsEcsTaskVolumeDetails>,SdkPojo
- Enclosing class:
- AwsEcsTaskVolumeDetails
public static interface AwsEcsTaskVolumeDetails.Builder extends SdkPojo, CopyableBuilder<AwsEcsTaskVolumeDetails.Builder,AwsEcsTaskVolumeDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AwsEcsTaskVolumeDetails.Builderhost(Consumer<AwsEcsTaskVolumeHostDetails.Builder> host)This parameter is specified when you use bind mount host volumes.AwsEcsTaskVolumeDetails.Builderhost(AwsEcsTaskVolumeHostDetails host)This parameter is specified when you use bind mount host volumes.AwsEcsTaskVolumeDetails.Buildername(String name)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
AwsEcsTaskVolumeDetails.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
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
AwsEcsTaskVolumeDetails.Builder host(AwsEcsTaskVolumeHostDetails 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
default AwsEcsTaskVolumeDetails.Builder host(Consumer<AwsEcsTaskVolumeHostDetails.Builder> 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:
host(AwsEcsTaskVolumeHostDetails)
-
-