public class PurgeOptions extends java.lang.Object implements JsonSerializable
| Modifier and Type | Class and Description |
|---|---|
static class |
PurgeOptions.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected long |
keep |
protected long |
seq |
protected java.lang.String |
subject |
| Modifier and Type | Method and Description |
|---|---|
static PurgeOptions.Builder |
builder() |
long |
getKeep()
Get the max number of messages to keep for the Purge Options
|
long |
getSeq()
Get the upper bound sequence for the Purge Options
|
java.lang.String |
getSubject()
Get the subject for the Purge Options
|
static PurgeOptions.Builder |
subject() |
java.lang.String |
toJson() |
protected final java.lang.String subject
protected final long seq
protected final long keep
public java.lang.String toJson()
toJson in interface JsonSerializablepublic java.lang.String getSubject()
public long getSeq()
public long getKeep()
public static PurgeOptions.Builder builder()
public static PurgeOptions.Builder subject()