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()
boolean
The hard limit for the ulimit type.getName()
Thetype
of theulimit
.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
Thetype
of theulimit
.void
setSoftLimit
(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) Thetype
of theulimit
.Thetype
of theulimit
.withSoftLimit
(Integer softLimit) The soft limit for the ulimit type.
-
Constructor Details
-
Ulimit
public Ulimit()
-
-
Method Details
-
setName
The
type
of theulimit
.- Parameters:
name
- Thetype
of theulimit
.- See Also:
-
getName
The
type
of theulimit
.- Returns:
- The
type
of theulimit
. - See Also:
-
withName
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:
-
setName
The
type
of theulimit
.- Parameters:
name
- Thetype
of theulimit
.- See Also:
-
withName
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:
-
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
-