Interface AwsEcsTaskVolumeDetails.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AwsEcsTaskVolumeDetails.Builder,AwsEcsTaskVolumeDetails>, SdkBuilder<AwsEcsTaskVolumeDetails.Builder,AwsEcsTaskVolumeDetails>, SdkPojo
Enclosing class:
AwsEcsTaskVolumeDetails

public static interface AwsEcsTaskVolumeDetails.Builder extends SdkPojo, CopyableBuilder<AwsEcsTaskVolumeDetails.Builder,AwsEcsTaskVolumeDetails>
  • Method Details

    • 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

      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.
    • 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.

      This is a convenience method that creates an instance of the AwsEcsTaskVolumeHostDetails.Builder avoiding the need to create one manually via AwsEcsTaskVolumeHostDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to host(AwsEcsTaskVolumeHostDetails).

      Parameters:
      host - a consumer that will call methods on AwsEcsTaskVolumeHostDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: