Interface VolumeFrom.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VolumeFrom.Builder,,VolumeFrom> SdkBuilder<VolumeFrom.Builder,,VolumeFrom> SdkPojo
- Enclosing class:
VolumeFrom
@Mutable
@NotThreadSafe
public static interface VolumeFrom.Builder
extends SdkPojo, CopyableBuilder<VolumeFrom.Builder,VolumeFrom>
-
Method Summary
Modifier and TypeMethodDescriptionIf this value istrue, the container has read-only access to the volume.sourceContainer(String sourceContainer) The name of another container within the same task definition to mount volumes from.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
-
sourceContainer
The name of another container within the same task definition to mount volumes from.
- Parameters:
sourceContainer- The name of another container within the same task definition to mount volumes from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readOnly
If this value is
true, the container has read-only access to the volume. If this value isfalse, then the container can write to the volume. The default value isfalse.- Parameters:
readOnly- If this value istrue, the container has read-only access to the volume. If this value isfalse, then the container can write to the volume. The default value isfalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-