Interface AwsEcsContainerDetails.Builder

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

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

    • name

      The name of the container.

      Parameters:
      name - The name of the container.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • image

      The image used for the container.

      Parameters:
      image - The image used for the container.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mountPoints

      The mount points for data volumes in your container.

      Parameters:
      mountPoints - The mount points for data volumes in your container.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mountPoints

      AwsEcsContainerDetails.Builder mountPoints(AwsMountPoint... mountPoints)

      The mount points for data volumes in your container.

      Parameters:
      mountPoints - The mount points for data volumes in your container.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mountPoints

      The mount points for data volumes in your container.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to mountPoints(List<AwsMountPoint>).

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

      AwsEcsContainerDetails.Builder privileged(Boolean privileged)

      When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user).

      Parameters:
      privileged - When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user).
      Returns:
      Returns a reference to this object so that method calls can be chained together.