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 Details

    • 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 is false, then the container can write to the volume. The default value is false.

      Parameters:
      readOnly - If this value is true, the container has read-only access to the volume. If this value is false, then the container can write to the volume. The default value is false.
      Returns:
      Returns a reference to this object so that method calls can be chained together.