@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails extends Object implements Serializable, Cloneable, StructuredPojo
A ulimit to set in the container.
Constructor and Description |
---|
AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails |
clone() |
boolean |
equals(Object obj) |
Integer |
getHardLimit()
The hard limit for the ulimit type.
|
String |
getName()
The type of the ulimit.
|
Integer |
getSoftLimit()
The soft limit for the ulimit type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHardLimit(Integer hardLimit)
The hard limit for the ulimit type.
|
void |
setName(String name)
The type of the ulimit.
|
void |
setSoftLimit(Integer softLimit)
The soft limit for the ulimit type.
|
String |
toString()
Returns a string representation of this object.
|
AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails |
withHardLimit(Integer hardLimit)
The hard limit for the ulimit type.
|
AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails |
withName(String name)
The type of the ulimit.
|
AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails |
withSoftLimit(Integer softLimit)
The soft limit for the ulimit type.
|
public AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails()
public void setHardLimit(Integer hardLimit)
The hard limit for the ulimit type.
hardLimit
- The hard limit for the ulimit type.public Integer getHardLimit()
The hard limit for the ulimit type.
public AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails withHardLimit(Integer hardLimit)
The hard limit for the ulimit type.
hardLimit
- The hard limit for the ulimit type.public void setName(String name)
The type of the ulimit.
name
- The type of the ulimit.public String getName()
The type of the ulimit.
public AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails withName(String name)
The type of the ulimit.
name
- The type of the ulimit.public void setSoftLimit(Integer softLimit)
The soft limit for the ulimit type.
softLimit
- The soft limit for the ulimit type.public Integer getSoftLimit()
The soft limit for the ulimit type.
public AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails withSoftLimit(Integer softLimit)
The soft limit for the ulimit type.
softLimit
- The soft limit for the ulimit type.public String toString()
toString
in class Object
Object.toString()
public AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.