public class CacheTTL extends JsonObject
| Constructor and Description |
|---|
CacheTTL() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getTtl() |
String |
getType() |
String |
getValue() |
Integer |
getWeight() |
void |
setTtl(Integer ttl) |
void |
setType(String type) |
void |
setValue(String value) |
void |
setWeight(Integer weight) |
CacheTTL |
withTtl(Integer ttl) |
CacheTTL |
withType(String type) |
CacheTTL |
withValue(String value) |
CacheTTL |
withWeigth(Integer weight) |
toStringpublic String getType()
public void setType(String type)
type - public String getValue()
public void setValue(String value)
value - public Integer getTtl()
public void setTtl(Integer ttl)
ttl - public Integer getWeight()
public void setWeight(Integer weight)
weight - Copyright © 2022. All rights reserved.