@Generated(value="software.amazon.awssdk:codegen") public final class Ulimit extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Ulimit.Builder,Ulimit>
The ulimit settings to pass to the container.
Amazon ECS tasks hosted on Fargate use the default resource limit values set by the operating system with the
exception of the nofile resource limit parameter which Fargate overrides. The nofile
resource limit sets a restriction on the number of open files that a container can use. The default
nofile soft limit is 1024 and the default hard limit is 4096.
You can specify the ulimit settings for a container in a task definition.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Ulimit.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Ulimit.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
Integer |
hardLimit()
The hard limit for the
ulimit type. |
int |
hashCode() |
UlimitName |
name()
The
type of the ulimit. |
String |
nameAsString()
The
type of the ulimit. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Ulimit.Builder> |
serializableBuilderClass() |
Integer |
softLimit()
The soft limit for the
ulimit type. |
Ulimit.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final UlimitName name()
The type of the ulimit.
If the service returns an enum value that is not available in the current SDK version, name will return
UlimitName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
type of the ulimit.UlimitNamepublic final String nameAsString()
The type of the ulimit.
If the service returns an enum value that is not available in the current SDK version, name will return
UlimitName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
type of the ulimit.UlimitNamepublic final Integer softLimit()
The soft limit for the ulimit type.
ulimit type.public final Integer hardLimit()
The hard limit for the ulimit type.
ulimit type.public Ulimit.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Ulimit.Builder,Ulimit>public static Ulimit.Builder builder()
public static Class<? extends Ulimit.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.