Package com.amazonaws.services.ecs.model
Class Ulimit
java.lang.Object
com.amazonaws.services.ecs.model.Ulimit
- All Implemented Interfaces:
Serializable,Cloneable
The ulimit settings to pass to the container.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe hard limit for the ulimit type.getName()Thetypeof theulimit.The soft limit for the ulimit type.inthashCode()voidsetHardLimit(Integer hardLimit) The hard limit for the ulimit type.voidsetName(UlimitName name) Thetypeof theulimit.voidThetypeof theulimit.voidsetSoftLimit(Integer softLimit) The soft limit for the ulimit type.toString()Returns a string representation of this object; useful for testing and debugging.withHardLimit(Integer hardLimit) The hard limit for the ulimit type.withName(UlimitName name) Thetypeof theulimit.Thetypeof theulimit.withSoftLimit(Integer softLimit) The soft limit for the ulimit type.
-
Constructor Details
-
Ulimit
public Ulimit()
-
-
Method Details
-
setName
The
typeof theulimit.- Parameters:
name- Thetypeof theulimit.- See Also:
-
getName
The
typeof theulimit.- Returns:
- The
typeof theulimit. - See Also:
-
withName
The
typeof theulimit.- Parameters:
name- Thetypeof theulimit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setName
The
typeof theulimit.- Parameters:
name- Thetypeof theulimit.- See Also:
-
withName
The
typeof theulimit.- Parameters:
name- Thetypeof theulimit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setSoftLimit
The soft limit for the ulimit type.
- Parameters:
softLimit- The soft limit for the ulimit type.
-
getSoftLimit
The soft limit for the ulimit type.
- Returns:
- The soft limit for the ulimit type.
-
withSoftLimit
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
The hard limit for the ulimit type.
- Parameters:
hardLimit- The hard limit for the ulimit type.
-
getHardLimit
The hard limit for the ulimit type.
- Returns:
- The hard limit for the ulimit type.
-
withHardLimit
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-