Interface ContainerMemoryLimits.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ContainerMemoryLimits.Builder,
,ContainerMemoryLimits> SdkBuilder<ContainerMemoryLimits.Builder,
,ContainerMemoryLimits> SdkPojo
- Enclosing class:
ContainerMemoryLimits
public static interface ContainerMemoryLimits.Builder
extends SdkPojo, CopyableBuilder<ContainerMemoryLimits.Builder,ContainerMemoryLimits>
-
Method Summary
Modifier and TypeMethodDescriptionThe maximum amount of memory that the container can use.The amount of memory that is reserved for a container.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
-
softLimit
The amount of memory that is reserved for a container. When the container group's shared memory is under contention, the system attempts to maintain the container memory usage at this soft limit. However, the container can use more memory when needed, if available. This property is similar to the Amazon ECS container definition parameter memoryreservation (Amazon Elastic Container Service Developer Guide).
- Parameters:
softLimit
- The amount of memory that is reserved for a container. When the container group's shared memory is under contention, the system attempts to maintain the container memory usage at this soft limit. However, the container can use more memory when needed, if available. This property is similar to the Amazon ECS container definition parameter memoryreservation (Amazon Elastic Container Service Developer Guide).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hardLimit
The maximum amount of memory that the container can use. If a container attempts to exceed this limit, the container is stopped. This property is similar to the Amazon ECS container definition parameter memory in the Amazon Elastic Container Service Developer Guide.
- Parameters:
hardLimit
- The maximum amount of memory that the container can use. If a container attempts to exceed this limit, the container is stopped. This property is similar to the Amazon ECS container definition parameter memory in the Amazon Elastic Container Service Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-