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
ulimitsettings 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 Ulimitclone()booleanequals(Object obj)IntegergetHardLimit()The hard limit for the ulimit type.StringgetName()Thetypeof theulimit.IntegergetSoftLimit()The soft limit for the ulimit type.inthashCode()voidsetHardLimit(Integer hardLimit)The hard limit for the ulimit type.voidsetName(UlimitName name)Thetypeof theulimit.voidsetName(String name)Thetypeof theulimit.voidsetSoftLimit(Integer softLimit)The soft limit for the ulimit type.StringtoString()Returns a string representation of this object; useful for testing and debugging.UlimitwithHardLimit(Integer hardLimit)The hard limit for the ulimit type.UlimitwithName(UlimitName name)Thetypeof theulimit.UlimitwithName(String name)Thetypeof theulimit.UlimitwithSoftLimit(Integer softLimit)The soft limit for the ulimit type.
-
-
-
Method Detail
-
setName
public void setName(String name)
The
typeof theulimit.- Parameters:
name- Thetypeof theulimit.- See Also:
UlimitName
-
getName
public String getName()
The
typeof theulimit.- Returns:
- The
typeof theulimit. - See Also:
UlimitName
-
withName
public Ulimit withName(String name)
The
typeof theulimit.- Parameters:
name- Thetypeof 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
typeof theulimit.- Parameters:
name- Thetypeof theulimit.- See Also:
UlimitName
-
withName
public Ulimit withName(UlimitName name)
The
typeof theulimit.- Parameters:
name- Thetypeof 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-