Interface AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails.Builder,,AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails> SdkBuilder<AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails.Builder,,AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails> SdkPojo
- Enclosing class:
AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails
public static interface AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails.Builder
extends SdkPojo, CopyableBuilder<AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails.Builder,AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails>
-
Method Summary
Modifier and TypeMethodDescriptioncontainerPath(String containerPath) The path on the container to mount the host volume at.Whether the container has read-only access to the volume.sourceVolume(String sourceVolume) The name of the volume to mount.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, sdkFields
-
Method Details
-
containerPath
AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails.Builder containerPath(String containerPath) The path on the container to mount the host volume at.
- Parameters:
containerPath- The path on the container to mount the host volume at.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readOnly
Whether the container has read-only access to the volume.
- Parameters:
readOnly- Whether the container has read-only access to the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceVolume
AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails.Builder sourceVolume(String sourceVolume) The name of the volume to mount. Must match the name of a volume listed in
VolumeDetailsfor the task definition.- Parameters:
sourceVolume- The name of the volume to mount. Must match the name of a volume listed inVolumeDetailsfor the task definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-