public class Ulimit extends Object implements Serializable, Cloneable
The ulimit settings to pass to the container.
| Constructor and Description |
|---|
Ulimit() |
| Modifier and Type | Method and Description |
|---|---|
Ulimit |
clone() |
boolean |
equals(Object obj) |
Integer |
getHardLimit()
The hard limit for the ulimit type.
|
String |
getName()
The
type of the ulimit. |
Integer |
getSoftLimit()
The soft limit for the ulimit type.
|
int |
hashCode() |
void |
setHardLimit(Integer hardLimit)
The hard limit for the ulimit type.
|
void |
setName(String name)
The
type of the ulimit. |
void |
setName(UlimitName name)
The
type of the ulimit. |
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(String name)
The
type of the ulimit. |
Ulimit |
withName(UlimitName name)
The
type of the ulimit. |
Ulimit |
withSoftLimit(Integer softLimit)
The soft limit for the ulimit type.
|
public void setName(String name)
The type of the ulimit.
name - The type of the ulimit.UlimitNamepublic String getName()
The type of the ulimit.
type of the ulimit.UlimitNamepublic Ulimit withName(String name)
The type of the ulimit.
name - The type of the ulimit.UlimitNamepublic void setName(UlimitName name)
The type of the ulimit.
name - The type of the ulimit.UlimitNamepublic Ulimit withName(UlimitName name)
The type of the ulimit.
name - The type of the ulimit.UlimitNamepublic void setSoftLimit(Integer softLimit)
The soft limit for the ulimit type.
softLimit - The soft limit for the ulimit type.public Integer getSoftLimit()
The soft limit for the ulimit type.
public Ulimit withSoftLimit(Integer softLimit)
The soft limit for the ulimit type.
softLimit - The soft limit for the ulimit type.public void setHardLimit(Integer hardLimit)
The hard limit for the ulimit type.
hardLimit - The hard limit for the ulimit type.public Integer getHardLimit()
The hard limit for the ulimit type.
public Ulimit withHardLimit(Integer hardLimit)
The hard limit for the ulimit type.
hardLimit - The hard limit for the ulimit type.public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.