Package io.vertx.config.vault.client
Class Secret
- java.lang.Object
-
- io.vertx.config.vault.client.Secret
-
public class Secret extends Object
Represent Secret result.- Author:
- Clement Escoffier
-
-
Constructor Summary
Constructors Constructor Description Secret()
Secret(JsonObject json)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonObject
getData()
long
getLeaseDuration()
String
getLeaseId()
String
getRequestId()
boolean
isRenewable()
Secret
setData(JsonObject data)
Secret
setLeaseDuration(long leaseDuration)
Secret
setLeaseId(String leaseId)
Secret
setRenewable(boolean renewable)
Secret
setRequestId(String requestId)
JsonObject
toJson()
String
toString()
-
-
-
Constructor Detail
-
Secret
public Secret()
-
Secret
public Secret(JsonObject json)
-
-
Method Detail
-
getLeaseId
public String getLeaseId()
-
isRenewable
public boolean isRenewable()
-
setRenewable
public Secret setRenewable(boolean renewable)
-
getLeaseDuration
public long getLeaseDuration()
-
setLeaseDuration
public Secret setLeaseDuration(long leaseDuration)
-
getRequestId
public String getRequestId()
-
getData
public JsonObject getData()
-
setData
public Secret setData(JsonObject data)
-
toJson
public JsonObject toJson()
-
-