public class Ulimit
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The ulimit
settings to pass to the container.
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
hardLimit
The hard limit for the ulimit type.
|
private java.lang.String |
name
The
type of the ulimit . |
private java.lang.Integer |
softLimit
The soft limit for the ulimit type.
|
Constructor and Description |
---|
Ulimit() |
Modifier and Type | Method and Description |
---|---|
Ulimit |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getHardLimit()
The hard limit for the ulimit type.
|
java.lang.String |
getName()
The
type of the ulimit . |
java.lang.Integer |
getSoftLimit()
The soft limit for the ulimit type.
|
int |
hashCode() |
void |
setHardLimit(java.lang.Integer hardLimit)
The hard limit for the ulimit type.
|
void |
setName(java.lang.String name)
The
type of the ulimit . |
void |
setName(UlimitName name)
The
type of the ulimit . |
void |
setSoftLimit(java.lang.Integer softLimit)
The soft limit for the ulimit type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Ulimit |
withHardLimit(java.lang.Integer hardLimit)
The hard limit for the ulimit type.
|
Ulimit |
withName(java.lang.String name)
The
type of the ulimit . |
Ulimit |
withName(UlimitName name)
The
type of the ulimit . |
Ulimit |
withSoftLimit(java.lang.Integer softLimit)
The soft limit for the ulimit type.
|
private java.lang.String name
The type
of the ulimit
.
private java.lang.Integer softLimit
The soft limit for the ulimit type.
private java.lang.Integer hardLimit
The hard limit for the ulimit type.
public void setName(java.lang.String name)
The type
of the ulimit
.
name
- The type
of the ulimit
.UlimitName
public java.lang.String getName()
The type
of the ulimit
.
type
of the ulimit
.UlimitName
public Ulimit withName(java.lang.String name)
The type
of the ulimit
.
name
- The type
of the ulimit
.UlimitName
public void setName(UlimitName name)
The type
of the ulimit
.
name
- The type
of the ulimit
.UlimitName
public Ulimit withName(UlimitName name)
The type
of the ulimit
.
name
- The type
of the ulimit
.UlimitName
public void setSoftLimit(java.lang.Integer softLimit)
The soft limit for the ulimit type.
softLimit
- The soft limit for the ulimit type.public java.lang.Integer getSoftLimit()
The soft limit for the ulimit type.
public Ulimit withSoftLimit(java.lang.Integer softLimit)
The soft limit for the ulimit type.
softLimit
- The soft limit for the ulimit type.public void setHardLimit(java.lang.Integer hardLimit)
The hard limit for the ulimit type.
hardLimit
- The hard limit for the ulimit type.public java.lang.Integer getHardLimit()
The hard limit for the ulimit type.
public Ulimit withHardLimit(java.lang.Integer hardLimit)
The hard limit for the ulimit type.
hardLimit
- The hard limit for the ulimit type.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Ulimit clone()
clone
in class java.lang.Object