Interface AwsEcsTaskVolumeDetails.Builder

    • 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 sourceVolume parameter of container definition mountPoints.

        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 the sourceVolume parameter of container definition mountPoints.
        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 host parameter 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 the host parameter 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.