public class Quota extends Object
Modifier and Type | Field and Description |
---|---|
static String |
JMS_QUOTA_TOKEN
The alias token used in the alias' WLST path for replacing with the Quota name.
|
Constructor and Description |
---|
Quota() |
Modifier and Type | Method and Description |
---|---|
Long |
getBytesMaximum()
Get the maximum number of bytes.
|
String |
getId()
Get the id.
|
Long |
getMessagesMaximum()
Get the maximum number of messages.
|
String |
getName()
Get the name.
|
String |
getNotes()
Get the notes.
|
QuotaPolicy |
getPolicy()
Get the policy.
|
Boolean |
getShared()
Get whether or not the quota is shared.
|
Quota |
setBytesMaximum(Long bytesMaximum)
Set the maximum number of bytes.
|
Quota |
setId(String id)
Set the id.
|
Quota |
setMessagesMaximum(Long messagesMaximum)
Set the maximum number of messages.
|
Quota |
setName(String name)
Set the name.
|
Quota |
setNotes(String notes)
Set the notes.
|
Quota |
setPolicy(QuotaPolicy policy)
Set the policy.
|
Quota |
setShared(Boolean shared)
Set whether or not the quota is shared.
|
String |
toCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toJsonCompactString()
Returns a compact string representation of the object in JSON format.
|
String |
toJsonString()
Returns a string representation of the object in JSON format.
|
String |
toString()
Returns a string representation of the object in XML format.
|
String |
toXmlCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toXmlString()
Returns a string representation of the object in XML format.
|
public static final String JMS_QUOTA_TOKEN
public String getId()
public Quota setId(String id)
id
- the new idpublic Long getBytesMaximum()
public Quota setBytesMaximum(Long bytesMaximum)
bytesMaximum
- the new maximum number of bytespublic Long getMessagesMaximum()
public Quota setMessagesMaximum(Long messagesMaximum)
messagesMaximum
- the new maximum number of messagespublic String getName()
public Quota setName(String name)
name
- the new namepublic String getNotes()
public Quota setNotes(String notes)
notes
- the new notespublic QuotaPolicy getPolicy()
public Quota setPolicy(QuotaPolicy policy)
policy
- the new policypublic Boolean getShared()
public Quota setShared(Boolean shared)
shared
- the new valuepublic String toXmlCompactString()
public String toXmlString()
public String toJsonCompactString()
public String toJsonString()
public String toCompactString()