Package com.amazonaws.services.ecs.model
Class Ulimit
- java.lang.Object
-
- com.amazonaws.services.ecs.model.Ulimit
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class Ulimit extends Object implements Serializable, Cloneable
The
ulimit
settings to pass to the container.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Ulimit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Ulimit
clone()
boolean
equals(Object obj)
Integer
getHardLimit()
The hard limit for the ulimit type.String
getName()
Thetype
of theulimit
.Integer
getSoftLimit()
The soft limit for the ulimit type.int
hashCode()
void
setHardLimit(Integer hardLimit)
The hard limit for the ulimit type.void
setName(UlimitName name)
Thetype
of theulimit
.void
setName(String name)
Thetype
of theulimit
.void
setSoftLimit(Integer softLimit)
The soft limit for the ulimit type.String
toString()
Returns a string representation of this object; useful for testing and debugging.Ulimit
withHardLimit(Integer hardLimit)
The hard limit for the ulimit type.Ulimit
withName(UlimitName name)
Thetype
of theulimit
.Ulimit
withName(String name)
Thetype
of theulimit
.Ulimit
withSoftLimit(Integer softLimit)
The soft limit for the ulimit type.
-
-
-
Method Detail
-
setName
public void setName(String name)
The
type
of theulimit
.- Parameters:
name
- Thetype
of theulimit
.- See Also:
UlimitName
-
getName
public String getName()
The
type
of theulimit
.- Returns:
- The
type
of theulimit
. - See Also:
UlimitName
-
withName
public Ulimit withName(String name)
The
type
of theulimit
.- Parameters:
name
- Thetype
of theulimit
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UlimitName
-
setName
public void setName(UlimitName name)
The
type
of theulimit
.- Parameters:
name
- Thetype
of theulimit
.- See Also:
UlimitName
-
withName
public Ulimit withName(UlimitName name)
The
type
of theulimit
.- Parameters:
name
- Thetype
of theulimit
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UlimitName
-
setSoftLimit
public void setSoftLimit(Integer softLimit)
The soft limit for the ulimit type.
- Parameters:
softLimit
- The soft limit for the ulimit type.
-
getSoftLimit
public Integer getSoftLimit()
The soft limit for the ulimit type.
- Returns:
- The soft limit for the ulimit type.
-
withSoftLimit
public Ulimit withSoftLimit(Integer softLimit)
The soft limit for the ulimit type.
- Parameters:
softLimit
- The soft limit for the ulimit type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHardLimit
public void setHardLimit(Integer hardLimit)
The hard limit for the ulimit type.
- Parameters:
hardLimit
- The hard limit for the ulimit type.
-
getHardLimit
public Integer getHardLimit()
The hard limit for the ulimit type.
- Returns:
- The hard limit for the ulimit type.
-
withHardLimit
public Ulimit withHardLimit(Integer hardLimit)
The hard limit for the ulimit type.
- Parameters:
hardLimit
- The hard limit for the ulimit type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-