public static interface AwsEcsContainerDetails.Builder extends SdkPojo, CopyableBuilder<AwsEcsContainerDetails.Builder,AwsEcsContainerDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsEcsContainerDetails.Builder |
image(String image)
The image used for the container.
|
AwsEcsContainerDetails.Builder |
mountPoints(AwsMountPoint... mountPoints)
The mount points for data volumes in your container.
|
AwsEcsContainerDetails.Builder |
mountPoints(Collection<AwsMountPoint> mountPoints)
The mount points for data volumes in your container.
|
AwsEcsContainerDetails.Builder |
mountPoints(Consumer<AwsMountPoint.Builder>... mountPoints)
The mount points for data volumes in your container.
|
AwsEcsContainerDetails.Builder |
name(String name)
The name of the container.
|
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).
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsEcsContainerDetails.Builder name(String name)
The name of the container.
name - The name of the container.AwsEcsContainerDetails.Builder image(String image)
The image used for the container.
image - The image used for the container.AwsEcsContainerDetails.Builder mountPoints(Collection<AwsMountPoint> mountPoints)
The mount points for data volumes in your container.
mountPoints - The mount points for data volumes in your container.AwsEcsContainerDetails.Builder mountPoints(AwsMountPoint... mountPoints)
The mount points for data volumes in your container.
mountPoints - The mount points for data volumes in your container.AwsEcsContainerDetails.Builder mountPoints(Consumer<AwsMountPoint.Builder>... mountPoints)
The mount points for data volumes in your container.
This is a convenience method that creates an instance of theAwsMountPoint.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.
mountPoints - a consumer that will call methods on
AwsMountPoint.Builder#mountPoints(java.util.Collection) 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).
privileged - When this parameter is true, the container is given elevated privileges on the host container instance
(similar to the root user).Copyright © 2023. All rights reserved.