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 JsonObjectgetData()longgetLeaseDuration()StringgetLeaseId()StringgetRequestId()booleanisRenewable()SecretsetData(JsonObject data)SecretsetLeaseDuration(long leaseDuration)SecretsetLeaseId(String leaseId)SecretsetRenewable(boolean renewable)SecretsetRequestId(String requestId)JsonObjecttoJson()StringtoString()
-
-
-
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()
-
-