Interface VolumeFrom.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VolumeFrom.Builder,VolumeFrom>,SdkBuilder<VolumeFrom.Builder,VolumeFrom>,SdkPojo
- Enclosing class:
- VolumeFrom
public static interface VolumeFrom.Builder extends SdkPojo, CopyableBuilder<VolumeFrom.Builder,VolumeFrom>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VolumeFrom.BuilderreadOnly(Boolean readOnly)If this value istrue, the container has read-only access to the volume.VolumeFrom.BuildersourceContainer(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
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
-
sourceContainer
VolumeFrom.Builder sourceContainer(String 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
VolumeFrom.Builder readOnly(Boolean 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.
-
-