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 Summary
Modifier and TypeMethodDescriptionThe image used for the container.mountPoints
(Collection<AwsMountPoint> mountPoints) The mount points for data volumes in your container.mountPoints
(Consumer<AwsMountPoint.Builder>... mountPoints) The mount points for data volumes in your container.mountPoints
(AwsMountPoint... mountPoints) The mount points for data volumes in your container.The name of the container.privileged
(Boolean privileged) When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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 theAwsMountPoint.Builder
avoiding the need to create one manually viaAwsMountPoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomountPoints(List<AwsMountPoint>)
.- Parameters:
mountPoints
- a consumer that will call methods onAwsMountPoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-